Commit graph

92 commits

Author SHA1 Message Date
Zack Piispanen
015cf61b77 Add logout command and pos command. Closes #872 and Closes #887 2015-03-25 21:17:11 -04:00
PhoenixICE
10de490c86 Tab formatting issue 2015-02-23 09:30:05 +11:00
PhoenixICE
6bb3a2f2ab Godmode Other Permission 2015-02-23 09:26:51 +11:00
Zack
f9bf470b1d Tick version and update copyright 2015-01-28 15:29:13 -05:00
Zack
18138afd1d Update ServerAPI to latest. Added command to reset the completed angler quests. Verified that angler quests are working as intended. Set value in db to 9, completed quest, received fuzzy carrot, shut down server, set to saw it was set to 10, set to 19, started server, completed quest, received his hat. Please stop reporting this as broken. 2014-08-02 10:18:47 -04:00
MarioE
fd5c696656 Add permission to ignore max HP/MP, add config option for max HP/MP, possibly fix SSC
Fixing SSC is done by sending packet 39 (item disown) to the client.
Until a response, which is packet 22, is received from the client, all
SSC-related packets are completely ignored. This ensures that the SSC
data which is sent is not dirtied due to packets which are processed
during RestoreCharacter or slightly afterwards.
2014-07-28 23:40:27 -04:00
Zack
7a8422de5c Add tile banning, because such whine, much desire (doge).
I am sure this will result in someone whining for wall banning as well, but that can wait another couple of months.
2014-07-27 20:57:17 -04:00
MarioE
1228acbbc8 Fix up /tpnpc a bit, tick version 2014-07-20 18:08:01 -04:00
MarioE
4ce305b91d Merge pull request #822 from WhiteXZ/general-devel
Add /tpnpc to allow teleportation to active npcs
2014-07-20 18:06:25 -04:00
Zack
fb451c6d49 Update license header for 2014 2014-07-10 21:48:33 -04:00
White
a8a08caa4b Add /tpnpc to allow teleportation to active npcs 2014-07-10 17:58:20 +09:30
MarioE
97252dfe93 Add /forcehalloween, fix /hardmode to actually send changes, clamp tile positions in /tppos, remove extra permissions 2014-06-28 19:30:23 -04:00
MarioE
66b0f3899c Merge /tphere into /tp, add /tppos 2014-06-27 21:53:01 -04:00
MarioE
69529fad38 Fix permissions referring to "SSI" instead of "SSC"
Fixes #811
2014-06-27 20:58:31 -04:00
MarioE
bcebc2efc5 Split permission to hurt NPCs 2014-06-24 16:01:24 -04:00
MarioE
5225a55e76 Delegate /tphere * to a separate permission. Also made teleports more exact 2014-06-24 00:18:41 -04:00
k0rd
e50f2dfd1e changing variable to be less ambiguous 2014-06-12 13:33:42 -04:00
k0rd
a1158cb2e7 change permission for renamenpc to the npc node.
permission is now tshock.npc.rename
2014-06-12 13:27:55 -04:00
k0rd
98f1af65fa new command: /renamenpc <guide,nurse,etc.> <newname>
Change a town NPC's name to anything you want!
requires permission tshock.renamenpc

requested by our friends from /tg/
2014-06-12 04:03:16 -04:00
MarioE
af3f5ef954 Add a /wind command for changing the wind speed 2014-06-03 15:44:48 -04:00
Zack Piispanen
c8a4fd711f Refactor out spaces -> tabs
Remove checks to the itemban table for npcs(wtf zidonuke) and projectiles.
2014-04-21 17:24:46 -04:00
Zack Piispanen
84d8049ac6 Add projectile bans and the commands needed to set them up. 2014-04-11 13:44:47 -04:00
Zack Piispanen
2dc99c2d8c Add case for new invasion, and commands for the invasion/moons added recently 2013-12-19 20:00:00 -05:00
Zack Piispanen
1fb6ab4eee Add permission to allow a user to drop banned items. 2013-10-26 07:17:29 -04:00
Zack Piispanen
2b8e40ad0e Rod of discord permission change. 2013-10-18 22:34:35 -04:00
MarioE
ea83ff1bda Redo some permissions
Split up tshock.world.causeevents & tshock.world.editspawn and moved
/maxspawns and /spawnrate to the npc node.
2013-10-15 18:23:06 -04:00
Zidonuke Ghost
3f956801f8 Removed stat hack configs and permissions, added hardcoded limits due to crash exploit potential from abnormal stats. Also added hardcoded limits of player damage and killme due to crash exploits. 2013-10-06 02:56:55 -04:00
MarioE
4bd522f1db Modify more commands
Combined /killprojectile and /clearitems
Removed whisper prefix from whisper messages (color should be more than
sufficient)
Removed /star
Added /butcher [mob type]
Removed deprecated command methods
2013-10-05 12:07:07 -04:00
MarioE
b0997536d3 Add command help text
Also remove /debugreg, as it is now pointless.
2013-10-05 10:34:28 -04:00
MarioE
d4c7385781 Add some more hack checks to painting tiles & walls
Also add permission to ignore paint threshold
2013-10-04 19:05:10 -04:00
Zack Piispanen
23e06c803c Fix dumps 2013-10-01 19:00:41 -04:00
Zack Piispanen
ce73b0c0b5 Add canchat permission as well as godmode being a toggle command. 2013-10-01 04:20:52 -04:00
Zack Piispanen
811a98bb4c Added Config option for Rest spam. 2013-10-01 01:06:41 -04:00
Zack Piispanen
2621774e85 Updated Commands to use heal packet instead of hearts, enabling godmode. needs permission. 2013-09-30 23:56:59 -04:00
k0rd
efa6b8fbac permission 'canpaint' for painting tiles 2013-09-30 23:55:33 -04:00
MarioE
0dfe99ca68 Split superadmin permission. 2013-09-25 20:52:03 -04:00
MarioE
9c33980161 Change tp and rootonly. 2013-09-24 20:03:56 -04:00
MarioE
e1531ab675 Overhauled permissions.
Overhauled permissions to use permission nodes, and separated some
permissions into smaller ones (such as cfg into tshock.cfg.maxspawns,
tshock.cfg.spawnrate, etc),
2013-09-23 18:53:36 -04:00
Zack Piispanen
b7019d8267 change permissions to tshock.xxx and fix default group creating to reference permissions that exist, and not hardcoded strings. 2013-09-22 23:14:14 -04:00
Lucas Nicodemus
ae7ab5f234 Updated copyright information to point to 2013. 2013-08-22 21:51:17 -06:00
Lucas Nicodemus
9470e20423 Line ending normalization to CRLF (Windows) 2013-08-22 21:17:32 -06:00
CoderCow
72939c8876 Split REST permissions from Permissions into RestPermissions class. 2013-07-26 00:20:45 +02:00
CoderCow
0ea83746cf -Added REST per-endpoint permissions.
-Added REST endpoint "/v2/server/restart".
-Added REST endpoint "/v2/server/reload".
-Added REST endpoint "/v3/server/rawcmd", will output all returned lines as an array instead.
-Added "uptime", "serverpassword", "rules/ServerSideInventory" fields to REST endpoint "/v2/server/status".
-REST requests are now logged.
-Endpoint "/v2/server/rawcmd" does now check whether the user has the sufficient permission to execute the command.
-Fixed Config.EnableTokenEndpointAuthentication not working properly before.
-Removed obsolete "api" permission (only "restapi" now).
2013-07-25 19:52:12 +02: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
Scavenger3
5d2925d0e2 Changed Sudo command to TempGroup 2013-02-20 18:05:04 +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
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
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
d943367765 Commands can have more than one permission. 2012-10-03 23:27:59 +10:00