Commit graph

480 commits

Author SHA1 Message Date
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
Zack Piispanen
b60f39b19a Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2012-05-27 23:23:12 -04:00
Zack Piispanen
c28319eac6 SetSpawn now outputs a result. 2012-05-27 23:22:05 -04:00
Lucas Nicodemus
cfd08ad946 Theoreatically added a listbans command 2012-05-27 20:35:00 -06:00
Lucas Nicodemus
9e37550610 Unbanning a player is now case sensitive 2012-05-27 19:37:17 -06:00
Deathmax
ed0756e80c Fixes null exception thrown on /save
TShock.Players was not being checked for null objects.

Reported by InanZen.
2012-05-27 21:05:28 +08:00
Lucas Nicodemus
ccdedca196 ???? 2012-05-26 19:56:03 -06:00
Lucas Nicodemus
60e5e43743 This is a VCS, we don't need to comment out code 2012-05-26 17:04:09 -06:00
Lucas Nicodemus
9648fe1060 Forgot to remove checks on 1+ args for /butcher 2012-05-26 02:49:48 -06:00
Lucas Nicodemus
190977c422 SSI saves on /save 2012-05-25 22:55:52 -06:00
Lucas Nicodemus
23b02fb0c6 Rawr 2012-05-25 22:50:15 -06:00
Lucas Nicodemus
bccb4b4e4e Removed killFriendly from Butcher
Upon further inspection, friendly NPCs are non-existent as far as
actually being set in game goes. Maybe this was originally supposed to
denote a removed NPC type or a town npc?
2012-05-25 22:24:56 -06:00
Lucas Nicodemus
c84f2b6055 Added option to /butcher to kill town NPCS 2012-05-25 20:57:26 -06:00
Lucas Nicodemus
7e851f0311 Removed /genore 2012-05-25 19:34:29 -06:00
Zack Piispanen
3e0c290243 Dont mess with the vitrual methods. 2012-05-24 18:30:14 -04:00
Zack Piispanen
08d06c023e Fix unban
Fix DisableBeforeJoin when server has a password.
2012-05-17 19:36:33 -04:00
Zack Piispanen
50d9cb602d Added config option to prevent people from spawning banned items. 2012-04-27 01:03:05 -04:00
Lucas Nicodemus
d59cda0ce3 Refactor Playing method -> ListConnectedPlayers per convention 2012-04-24 12:48:32 -06:00
Lucas Nicodemus
8d5cdf04a8 Update copyright to reflect actual year date. 2012-04-24 12:45:46 -06:00
Lucas Nicodemus
550a43f1e4 Merge pull request #442 from erikive/general-devel
Added separate permission for userinfo and reason for shutting down
2012-04-15 19:31:10 -07:00
Zack Piispanen
b5504d2319 Z index based regions 2012-04-15 15:39:09 -04:00
Eriki Iverson
1ba63130a3 Added reason for shutting down 2012-04-15 12:31:55 -05:00
Eriki Iverson
a721572d0a Added separate permission for /userinfo 2012-04-15 11:02:57 -05:00
Zack Piispanen
7bfd9d244e Added /modgroup add * [permissions] and /modgroup del * [permissions] to allow permissions to be applied to all groups. 2012-04-09 12:29:50 -04:00
Zack Piispanen
7a42c56f30 Added savessi and overridessi to the commandlist. This allows users to save everyones ssi or in the event someone is banned from doing anything once logging in, they can have their account overriden. I haven't tested any of this, as I will be away from this computer, but plan on testing tomorrow. 2012-04-06 16:23:01 -04:00
stevenh
41dbd31aac Converted all files to LF line endings 2012-02-21 15:56:34 +00:00
stevenh
988bc4198b Server either console can now kick and ban players regardless of the players immune permissions which fixes #391
Refactored Utils ForceKick to call Kick so we have one core method with all the logic in
Added missing params to docs for Kick and Ban
2012-02-21 01:07:41 +00:00
stevenh
d34199b17d Refactored server stop and world save operations fixing race conditions so as to ensure operations always happen in a predicable order. This fixes output not appearing in the console / log for example. This adds TShock.Utils.StopServer method used by IGA, rcon and the RestAPI.
Fixed console title set not working

Optimised command line parsing

Made Utils a singleton to enforce the fact that only one copy should ever exist

Added name to /v2/user/read output as users can be found by id
2012-02-20 22:31:16 +00:00
k0rd
bc2fdf3eab add gems and demonite to genore 2012-02-17 03:12:10 -05:00
k0rd
a79b346d3c support group modification and deleting usernames containing a DOT (.) 2012-02-16 23:00:22 -05:00
stevenh
2f3bfca082 Fixed how ban logic works so it matches the description of the variables EnableBanOnUsernames & EnableIPBans
Now it doesn't prevent bans being created or found but it only actions kicks on join based on the relavent config options.

Changed /unban <player> to only work on names and /unbanip <ip> to only work on ip's to avoid user confusion

Changed error message returned when no bans are found when actioning /unban <player> & /unbanip <ip> to be more appropriate

Fixed formatting of -maxplayers / -players block
2012-02-16 11:08:53 +00:00
k0rd
3641c3ca87 Consider command line parameters when /reload command is issued 2012-02-12 23:56:49 -05:00
k0rd
d478810336 -maxplayers or -players cl argument should override config
additions to /removespecial
2012-02-12 15:27:23 -05:00