Commit graph

441 commits

Author SHA1 Message Date
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
Zack Piispanen
1306043c00 Added permission for seeing ids when using /who
Also added in the ability to see ids when using /who.  Good for quickly adding ids to a region.
2012-01-26 19:41:12 -05:00
Adam Dehart
10719e86a4 Added group display to /ui, /ui /kick /ban shows matching player names 2012-01-25 08:40:00 -06:00
Lucas Nicodemus
f1113675c4 Code Freeze 2012-01-22 00:28:02 -07:00
Zack
7ab577282e Whoops, num4 was already defined :D 2012-01-13 12:53:13 -05:00
Zack
4fa3ff77a2 Reverted The Ore gen command to max of 1000 tiles and the original random pattern that was there before. Also removed the dumb stuff with iron, that didnt appear to work on my local tests. 2012-01-13 12:49:37 -05:00
Zack Piispanen
4c4cd4027d Removed lua, because it shouldnt be here.
Attempted hotfix of trashcan abuse.  User's inventory shouldn't be saved if they are being nagged about logging out.
2012-01-12 18:00:05 -05:00
Natrim
2e7fa14a91 add commands for allowed groups for banned items 2012-01-10 11:17:54 +01:00
Natrim
50eeae2a86 aliases for item banning 2012-01-10 11:17:49 +01:00
Natrim
b4d6908f98 add list items command to display banned items 2012-01-10 11:17:24 +01:00
Lucas Nicodemus
1d1c15f808 Added a basic implementation of a hooking system.
Related to TSHOCKPLUGINS-6
2012-01-04 02:43:46 -07:00
Lucas Nicodemus
d28fef8e1e Implemented permissions for lua and some commands to work with it.
TSHOCKPLUGINS-4 is completed.
2012-01-03 18:07:55 -07:00
Deathmax
e1d11ca96a Provide feedback when using hardmode commands 2012-01-03 15:31:38 +08:00
Lucas Nicodemus
42f8978e8f Remove old UpdateNow method 2012-01-02 00:58:58 -07:00
Lucas Nicodemus
bf9d0137f1 Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
Lucas Nicodemus
f47ce942f4 Remove old flat file conversion Commands.cs 2012-01-01 02:43:09 -07:00
Lucas Nicodemus
58f08193ae Mark some functions as obsolete 2012-01-01 02:38:10 -07:00
high
4e2b6fe313 Fixed group being used before being set again... 2011-12-31 23:25:56 -05:00
Lucas Nicodemus
8685e8d710 Tabs, not spaces please. 2011-12-31 19:18:40 -07:00
Lucas Nicodemus
0170f9d348 Added several aliases for broadcast 2011-12-30 20:07:11 -07:00
darkunderdog
eaeb37ced5 users now can login with /login password - new config option to enable the ability to log in with username and password 2011-12-30 20:29:27 -06:00
Lucas Nicodemus
c6abbfe4d2 ReSharper code reformat to match naming conventions and stuff 2011-12-30 14:38:04 -07:00
Lucas Nicodemus
1147788154 ReSharper redundant code cleanup 2011-12-30 14:32:05 -07:00
Zidonuke
021728525d Improved server side inventory handling
Allowed item bans to effect armor worn, YAY FOR RP SERVERS
2011-12-29 15:58:31 -05:00
Natrim
0fd7bba913 add aliases exit, exit-nosave to respect old vanilla commands
- some ppl will not otherwise know how to disable server from the new console
2011-12-29 12:46:30 +01:00
Zidonuke
b9a8fdf891 Quick fixes 2011-12-29 02:16:45 -05:00