change permission for renamenpc to the npc node.

permission is now tshock.npc.rename
This commit is contained in:
k0rd 2014-06-12 13:27:55 -04:00
parent 98f1af65fa
commit a1158cb2e7
2 changed files with 8 additions and 8 deletions

View file

@ -341,6 +341,10 @@ namespace TShockAPI
{
HelpText = "Kills hostile NPCs or NPCs of a certain type."
});
add(new Command(Permissions.rename, RenameNPC, "renamenpc")
{
HelpText = "Renames an NPC."
});
add(new Command(Permissions.invade, Invade, "invade")
{
HelpText = "Starts an NPC invasion."
@ -501,10 +505,6 @@ namespace TShockAPI
{
HelpText = "Kills another player."
});
add(new Command(Permissions.renamenpc, RenameNPC, "renamenpc")
{
HelpText = "Renames an NPC."
});
add(new Command(Permissions.cantalkinthird, ThirdPerson, "me")
{
HelpText = "Sends an action message to everyone."

View file

@ -173,6 +173,9 @@ namespace TShockAPI
[Description("User can spawn bosses.")]
public static readonly string spawnboss = "tshock.npc.spawnboss";
[Description("User can rename NPCs.")]
public static readonly string rename = "tshock.npc.rename";
[Description("User can spawn npcs.")]
public static readonly string spawnmob = "tshock.npc.spawnmob";
@ -294,9 +297,6 @@ namespace TShockAPI
[Description("User can kill others.")]
public static readonly string kill = "tshock.kill";
[Description("User can rename NPCs.")]
public static readonly string renamenpc = "tshock.renamenpc";
[Description("Allows you to bypass the max slots for up to 5 slots above your max.")]
public static readonly string reservedslot = "tshock.reservedslot";
@ -397,4 +397,4 @@ namespace TShockAPI
{
}
}
}
}