Commit graph

528 commits

Author SHA1 Message Date
CoderCow
2ba84ddd67 /region list will now provide a better listing of extra long / short region names. 2013-07-01 16:18:19 +02:00
CoderCow
25e584efe3 -Fixed an exploit where players could sneak items through SSI when DisableLoginBeforeJoin was true.
-/overidessi will now actually work on players not logged in...
2013-07-01 12:00:12 +02:00
CoderCow
790469c7b0 -The command delegate of commands can now be set afterwards. This allows other plugins easily override / extend existing commands.
-Added another command reference list so that original tshock commands can easily be identified.
2013-06-30 11:49:40 +02:00
CoderCow
deca922653 The /auth command will no longer be listed in /help if there's no use of it. 2013-06-30 11:49:35 +02:00
CoderCow
ee5a7dd7b8 /who will list player ids only when the -i parameter is added. 2013-06-30 11:49:32 +02:00
Scavenger3
93c76f6d53 Added world size to world command. 2013-06-30 19:20:07 +10:00
CoderCow
8a7bdf6697 Fixed /login error message. 2013-06-29 14:00:52 +02:00
CoderCow
76aab4af78 Added quick format versions of the TSPlayer.Send<X>Message methods. 2013-06-27 15:04:00 +02:00
CoderCow
a7f4c649b0 /region info does now properly display all region data including user and group shares. 2013-06-27 12:30:19 +02:00
CoderCow
2b1d2093ff /region will now state a proper help including all available sub-commands. 2013-06-27 11:03:50 +02:00
Scavenger3
f86ddf002e Allow a player to run a command if the permissions are empty. 2013-06-26 21:18:41 +10:00
Zack Piispanen
89571174ec Changed login event to prelogin and postlogin, if you set the args of prelogin to true, the login is ignored. In this case, if the server is loginbeforejoin, you need to kick the player with whatever reason otherwise bad things will happen. 2013-05-25 20:13:39 -04:00
Zack Piispanen
9ec77332fb Updated server bin
Added PluginUpdater stuff.  Very alpha at the moment until we can test more thoroughly.
2013-05-18 23:53:28 -04:00
Zack Piispanen
e37ada8749 Added event for reloading configs, so when a user does /reload it informs plugins that a config reload is requested. 2013-04-21 19:26:17 -04:00
Zack Piispanen
b37552ff27 Updated api to 1,13. 2013-04-19 23:54:11 -04:00
Scavenger3
5d2925d0e2 Changed Sudo command to TempGroup 2013-02-20 18:05:04 +10:00
Scavenger3
93fc6e4866 Added PlayerCommand Event 2013-01-13 18:29:16 +10:00
Zack Piispanen
0aedf2b108 Added way to have an overridable group that is session based.
New command /sudo <player> <group> will override the player's group with the group specified.
2012-12-15 18:59:25 -05:00
Zack Piispanen
9960526384 Fixed visibility of PlayerHooks.cs 2012-12-15 12:54:22 -05:00
Zack Piispanen
140c73be0a Added permissions for spawn and home, since they really should be split. 2012-12-15 00:12:37 -05:00
Lucas Nicodemus
88a9c05220 Merge pull request #461 from Scavenger3/InfPermissions
Commands can have more than one permission.
2012-12-14 12:55:39 -08:00
MarioE
458bf65e53 Permission for /tphere should have been the tphere permission. 2012-11-23 15:44:48 -05:00
Colin Bohn
189896446f Fix deprecation of warp commands 2012-11-18 11:22:12 -08:00
Zack Piispanen
477c69facd Fixed bans and warps being deprecated. 2012-11-11 23:51:29 -05:00
Zack Piispanen
fd9e48ce82 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2012-11-10 22:44:15 -05:00
Zack Piispanen
38ae8e9ce6 Added xmas hook such that when the server checks to see if it should do xmas related things, it will check all plugins first. 2012-11-10 22:43:39 -05:00
Scavenger3
0a0d80c33e Fixed negative spawnrate 2012-10-05 12:34:16 +10:00
Scavenger3
d943367765 Commands can have more than one permission. 2012-10-03 23:27:59 +10:00
Zack Piispanen
b9099757fb Added support for multiple chat commands being executed off one /command. This is due to a request that we allow people to register the same command as someone else. Also, this will fix any issues where two plugins register the same command and one breaks. Ofc, any better suggestions are extremely welcome. 2012-10-01 01:55:48 -04:00
Zack Piispanen
c37cc91ca0 Added Hook for player login, for plugin sake, now they can utilize the login before join. 2012-09-24 14:32:21 -04:00
Zack Piispanen
88394ac561 Added back in region manager.
Added back in spawnmob commands, including the obsolete boss commands.
2012-09-15 16:20:16 -04:00
MarioE
2e2539a4d1 Rename RememberedPosManager, also remove some deprecation messages. 2012-08-20 10:53:02 -04:00
MarioE
5b032f277d Match the god damned existing tab format 2012-08-20 10:33:54 -04:00
MarioE
8bbed92683 Er, add in a default mute reason... also disable noclip detection while tongued. 2012-08-20 10:00:46 -04:00
MarioE
5e14d751b9 /auth and /p should not be allowed for the server 2012-08-19 21:00:05 -04:00
MarioE
526c92459f Mute reasons 2012-08-19 20:55:16 -04:00
MarioE
2da302a0e1 Fix the final exploit 2012-08-15 14:00:19 -04:00
MarioE
659321efb4 Fixed warp hiding 2012-06-04 21:51:29 -04:00
MarioE
b85bed52d2 That should be all of it 2012-06-04 21:28:47 -04:00
MarioE
6ff2fed60b Removed some redundancies and deprecation messages 2012-06-03 10:39:22 -04:00
MarioE
5bc3b27794 Added AllowServer boolean to Commands 2012-06-02 23:03:34 -04:00
Lucas Nicodemus
be6bc9f510 Commented out debug output 2012-06-01 12:56:50 -06:00
Zack Piispanen
50ecce618e Added some docs on the player class. Also changed Command Callback to use object's instead of CommandArgs to promote generics. The new /test command will simply send the player a success message so that it can be tested on the console without opening the game( I dont have the game at work and didnt want to worldgen so I have no clue if it works as intended[ will be able to fix etc later tonight as I dont expect many people to be working on this before then] ) 2012-06-01 11:54:05 -04:00
Zack Piispanen
51e1991643 Added Command Callback support 2012-05-31 22:43:07 -04:00
MarioE
12140644c3 Fixed grammar in commands 2012-05-31 21:53:47 -04:00
Zack Piispanen
b56a77b39d Removed the Region code. Left todo's for the places where we currently reference it though. 2012-05-30 20:12:27 -04:00
Lucas Nicodemus
9d9950b2b4 Removed boss/mob spawning commands -> moving to separate repo 2012-05-30 18:04:20 -06:00
Lucas Nicodemus
bdf56225b7 More random crap that's stuffing up everything 2012-05-30 15:06:32 -06:00
Lucas Nicodemus
2b384f964f That's the last of them in Commands.cs 2012-05-30 03:38:17 -06:00
Lucas Nicodemus
a1dbd06f8a Changed the colors a bit
I'm aware that there's the top half of the file to do :/
2012-05-30 03:13:04 -06:00