Mark pointless permission as obsolete

This commit is contained in:
Enerdy 2016-10-14 23:13:02 +01:00
parent b6267bbaa7
commit 2320a913b4

View file

@ -29,16 +29,16 @@ namespace TShockAPI
{ {
// tshock.account nodes // tshock.account nodes
[Description("User can register account in game")] [Description("User can register account in game.")]
public static readonly string canregister = "tshock.account.register"; public static readonly string canregister = "tshock.account.register";
[Description("User can login in game")] [Description("User can login in game.")]
public static readonly string canlogin = "tshock.account.login"; public static readonly string canlogin = "tshock.account.login";
[Description("User can logout in game")] [Description("User can logout in game.")]
public static readonly string canlogout = "tshock.account.logout"; public static readonly string canlogout = "tshock.account.logout";
[Description("User can change password in game")] [Description("User can change password in game.")]
public static readonly string canchangepassword = "tshock.account.changepassword"; public static readonly string canchangepassword = "tshock.account.changepassword";
// tshock.admin nodes // tshock.admin nodes
@ -79,10 +79,10 @@ namespace TShockAPI
[Description("User can manage regions.")] [Description("User can manage regions.")]
public static readonly string manageregion = "tshock.admin.region"; public static readonly string manageregion = "tshock.admin.region";
[Description("User can mute and unmute users")] [Description("User can mute and unmute users.")]
public static readonly string mute = "tshock.admin.mute"; public static readonly string mute = "tshock.admin.mute";
[Description("User can see the id of players with /who")] [Description("User can see the id of players with /who.")]
public static readonly string seeids = "tshock.admin.seeplayerids"; public static readonly string seeids = "tshock.admin.seeplayerids";
[Description("User can save all the players SSI state.")] [Description("User can save all the players SSI state.")]
@ -148,7 +148,7 @@ namespace TShockAPI
[Description("Prevents your actions from being ignored if damage is too high.")] [Description("Prevents your actions from being ignored if damage is too high.")]
public static readonly string ignoredamagecap = "tshock.ignore.damage"; public static readonly string ignoredamagecap = "tshock.ignore.damage";
[Description("Bypass server side character checks")] [Description("Bypass server side character checks.")]
public static readonly string bypassssc = "tshock.ignore.ssc"; public static readonly string bypassssc = "tshock.ignore.ssc";
[Description("Allow unrestricted SendTileSquare usage, for client side world editing.")] [Description("Allow unrestricted SendTileSquare usage, for client side world editing.")]
@ -200,10 +200,10 @@ namespace TShockAPI
[Description("User can kill all enemy npcs.")] [Description("User can kill all enemy npcs.")]
public static readonly string butcher = "tshock.npc.butcher"; public static readonly string butcher = "tshock.npc.butcher";
[Description("User can summon bosses using items")] [Description("User can summon bosses using items.")]
public static readonly string summonboss = "tshock.npc.summonboss"; public static readonly string summonboss = "tshock.npc.summonboss";
[Description("User can start invasions (Goblin/Snow Legion) using items")] [Description("User can start invasions (Goblin/Snow Legion) using items.")]
public static readonly string startinvasion = "tshock.npc.startinvasion"; public static readonly string startinvasion = "tshock.npc.startinvasion";
[Description("User can clear the list of users who have completed an angler quest that day.")] [Description("User can clear the list of users who have completed an angler quest that day.")]
@ -211,7 +211,8 @@ namespace TShockAPI
// tshock.superadmin nodes // tshock.superadmin nodes
[Description("Meant for super admins only.")] [Description("This permission is no longer used.")]
[Obsolete("No longer used.")]
public static readonly string authverify = "tshock.superadmin.authverify"; public static readonly string authverify = "tshock.superadmin.authverify";
[Description("Meant for super admins only.")] [Description("Meant for super admins only.")]
@ -252,7 +253,7 @@ namespace TShockAPI
[Description("User can use /spawn.")] [Description("User can use /spawn.")]
public static readonly string spawn = "tshock.tp.spawn"; public static readonly string spawn = "tshock.tp.spawn";
[Description("User can use the Rod of Discor.")] [Description("User can use the Rod of Discord.")]
public static readonly string rod = "tshock.tp.rod"; public static readonly string rod = "tshock.tp.rod";
[Description("User can use wormhole potions.")] [Description("User can use wormhole potions.")]
@ -287,7 +288,7 @@ namespace TShockAPI
[Description("User can change the homes of NPCs.")] [Description("User can change the homes of NPCs.")]
public static readonly string movenpc = "tshock.world.movenpc"; public static readonly string movenpc = "tshock.world.movenpc";
[Description("User can convert hallow into corruption and vice-versa")] [Description("User can convert hallow into corruption and vice-versa.")]
public static readonly string converthardmode = "tshock.world.converthardmode"; public static readonly string converthardmode = "tshock.world.converthardmode";
[Description("User can force the server to Halloween mode.")] [Description("User can force the server to Halloween mode.")]
@ -322,7 +323,7 @@ namespace TShockAPI
[Description("User can modify the world.")] [Description("User can modify the world.")]
public static readonly string canbuild = "tshock.world.modify"; public static readonly string canbuild = "tshock.world.modify";
[Description("User can paint tiles.")] [Description("User can paint tiles.")]
public static readonly string canpaint = "tshock.world.paint"; public static readonly string canpaint = "tshock.world.paint";
@ -345,7 +346,7 @@ namespace TShockAPI
[Description("User can kill others.")] [Description("User can kill others.")]
public static readonly string kill = "tshock.kill"; public static readonly string kill = "tshock.kill";
[Description("Allows you to bypass the max slots for up to 5 slots above your max.")] [Description("Allows you to bypass the max slots for up to 5 slots above your max.")]
public static readonly string reservedslot = "tshock.reservedslot"; public static readonly string reservedslot = "tshock.reservedslot";
@ -364,10 +365,10 @@ namespace TShockAPI
[Description("User can heal players.")] [Description("User can heal players.")]
public static readonly string heal = "tshock.heal"; public static readonly string heal = "tshock.heal";
[Description("User can use party chat in game")] [Description("User can use party chat in game.")]
public static readonly string canpartychat = "tshock.partychat"; public static readonly string canpartychat = "tshock.partychat";
[Description("User can talk in third person")] [Description("User can talk in third person.")]
public static readonly string cantalkinthird = "tshock.thirdperson"; public static readonly string cantalkinthird = "tshock.thirdperson";
[Description("User can get the server info.")] [Description("User can get the server info.")]
@ -376,10 +377,10 @@ namespace TShockAPI
[Description("Player recovers health as damage is taken. Can be one shotted.")] [Description("Player recovers health as damage is taken. Can be one shotted.")]
public static readonly string godmode = "tshock.godmode"; public static readonly string godmode = "tshock.godmode";
[Description("User can godmode other players")] [Description("User can godmode other players.")]
public static readonly string godmodeother = "tshock.godmode.other"; public static readonly string godmodeother = "tshock.godmode.other";
[Description("Player can chat")] [Description("Player can chat.")]
public static readonly string canchat = "tshock.canchat"; public static readonly string canchat = "tshock.canchat";
[Description("Player can use banned projectiles.")] [Description("Player can use banned projectiles.")]