Commit graph

512 commits

Author SHA1 Message Date
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
Lucas Nicodemus
7f558c395a Fixed compilation error 2012-05-30 02:58:28 -06:00
Lucas Nicodemus
e46bc35fe9 Refactored the remaining command messages
What I'll do for a project.
2012-05-30 02:56:46 -06:00
Lucas Nicodemus
c79703131d Replaced a little more
Kill me now this is terrible.
2012-05-30 02:27:42 -06:00
Lucas Nicodemus
9dcd58435e Replaced half of like all the messages to players with the new methods
Deprecated use of Utils.Broadcast; Use TSPlayer.All instead.
Removed some really freaking odd capitalization issues.
2012-05-30 02:12:51 -06:00
Lucas Nicodemus
7f5ee044c9 Removed dumb comment by developer regarding the method Utils.ShowFileToUser not working because it works fine ffs 2012-05-29 20:21:06 -06:00
Deathmax
7f389b20a1 Make commands case-insensitive 2012-05-30 10:20:28 +08:00
Lucas Nicodemus
ca3edd12d7 I swear I'm not going to correct all the bad grammar used throughout TShock 2012-05-29 20:12:20 -06:00
Lucas Nicodemus
6721abf78c Removed all boss specific commands
They can now be spawned using /boss
2012-05-29 20:03:01 -06:00
Lucas Nicodemus
f1c9ef3c13 Removed placeholder todo 2012-05-29 19:13:59 -06:00
Lucas Nicodemus
5980498569 Changed the /who output to more appropriately reflect what it is 2012-05-29 19:07:22 -06:00
Lucas Nicodemus
d890359551 SendWarp is now wrapped into Warp
Removed old functions that are no longer relevant.
Changed help to be a little more helpful in Warp.
Wrapped the Warp command into regions.
2012-05-29 18:06:18 -06:00
Lucas Nicodemus
45e4eb0f9e Merged all warp commands into one
setwarp -> warp add
delwarp -> warp del
hidewarp -> warp hide
2012-05-29 17:40:16 -06:00
Lucas Nicodemus
52aa90ff9a Thoreatically, /who should be paginated now
Version is now its own command with a different permission.
2012-05-29 00:26:09 -06:00
Lucas Nicodemus
1673d004c0 Surprise tab conversion go 2012-05-28 01:04:43 -06:00
Lucas Nicodemus
8d4b38d170 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2012-05-27 22:13:17 -06:00
Lucas Nicodemus
f6c5c0ea83 All ban commands are now under the ban command
For the first release of 4.x, all previous commands will point to the
new command.
Added list and listip to the ban command to easily detect when a player
is or isn't banned.
Unbanning is no longer case sensitive.
2012-05-27 22:11:35 -06:00