fix: the example kits' permission is kits.runicnpc (stage 6)
Kits registers a kit's RequiredPermission, and Oxide warns on every Kits load that a permission a plugin registers must start with that plugin's name: "Missing plugin name prefix 'kits' for permission 'runicnpc.examplekits'". The org lead chose Kits' prefix. Nobody is granted it, so no player can claim an example kit by name; RunicNPC's GiveKit call skips it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
This commit is contained in:
@@ -3946,7 +3946,7 @@ namespace Oxide.Plugins
|
||||
private const string DataState = "RunicNPC/state";
|
||||
|
||||
/// <summary>The permission every example kit needs, which nobody is granted: no player can claim one by name (D284).</summary>
|
||||
private const string ExamplePermission = "runicnpc.examplekits";
|
||||
private const string ExamplePermission = "kits.runicnpc";
|
||||
|
||||
private sealed class StateFile
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user