Commit graph

566 commits

Author SHA1 Message Date
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
k0rd
b84e27436c fixes crash on saving world with /removespecial 2012-02-10 01:40:05 -05:00
k0rd
b6e220e9f2 A player should be teleported to remembered position after he is finished being harassed to login. 2012-02-06 20:17:39 -05:00
Erik
e3c09f28d5 Derp 2012-02-03 19:49:24 -06:00
k0rd
521fe6c015 added non-hardmode ores to /genore command. 2012-02-03 19:51:05 -05:00
Darkvengance aka Sildaekar
9d18ab3ce0 pearlstone brick now changed to grey brick 2012-02-01 15:14:04 -06:00
Darkvengance aka Sildaekar
da87682719 removespecial now removes pearlstone bricks 2012-02-01 14:59:25 -06:00
Darkvengance aka Sildaekar
accdb03d19 Removed demonite ore from the "removespecial" and "convertcorruption" commands. 2012-02-01 13:48:56 -06:00
Darkvengance aka Sildaekar
5a6b59cbad Added removespecial command 2012-02-01 13:44:05 -06:00
Darkvengance aka Sildaekar
44afc6d8dd Updated Local Files 2012-02-01 12:00:31 -06:00
Darkvengance aka Sildaekar
87e3fd347d Added 'restart' command 2012-01-31 11:31:58 -06:00
Darkvengance aka Sildaekar
2e9f07c6f3 More functionality in spawnrate and maxspawns commands 2012-01-31 06:31:08 -06:00
Lucas Nicodemus
13e00c7d2d Save SSI on /off
Should technically solve #339, but there are probably more instances around the codebase that have the same issue.
2012-01-31 02:10:05 -07:00
Zack Piispanen
41404f1a19 Added /group
usage: /group list
       /group perm <group name>

Will show you all groups and the permissions for a group respectively

Permission required is managegroup
2012-01-26 23:57:43 -05:00
Zack Piispanen
3934209a16 /world will show you world name and id.
Permission: cfg is required.
2012-01-26 20:27:40 -05:00