Commit graph

195 commits

Author SHA1 Message Date
Zack Piispanen
d4709a31f1 Added config option to utilize the allowed group on itembans
Support the config option and allow users on the allowed list to use the banned item.
2012-12-15 00:09:29 -05:00
MarioE
b85bed52d2 That should be all of it 2012-06-04 21:28:47 -04:00
Zack Piispanen
97c40c0ca9 Merge branch '4.0' of github.com:TShock/TShock into 4.0 2012-06-02 23:34:38 -04:00
Zack Piispanen
bc3d9fd528 Added in more instantiation of the command handler callback in the other constructors. 2012-06-02 23:34:28 -04:00
MarioE
0725d14bc6 Enabled color usage in console output 2012-06-02 23:03:36 -04:00
Zack Piispanen
be45fb762b Removed some deprecation messages. Added some more docs. 2012-06-01 13:08:53 -04: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
Lucas Nicodemus
43523fd441 Deprecated use of SendMessage(string msg) 2012-05-30 03:39:47 -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
c79703131d Replaced a little more
Kill me now this is terrible.
2012-05-30 02:27:42 -06:00
Lucas Nicodemus
fd14dd91e0 Added several new message senders that are easier to use 2012-05-29 22:34:19 -06:00
Zack Piispanen
761bdff214 Fix chat colors 2012-05-27 13:38:29 -04:00
Lucas Nicodemus
be2b60d706 Made chataboveheads work 2012-05-27 10:54:41 -06:00
Lucas Nicodemus
8bcc24da7e Added some code to enable chat above heads 2012-05-27 10:19:52 -06:00
Deathmax
727bff5bd4 Fixes #439
Adds a configurable world name to be sent to clients which is saved as
the name of the server.
2012-05-27 11:46:49 +08:00
Lucas Nicodemus
b8c2c1aded Fixed SaveSSI on kick potentially breaking
Added method to save an inventory in SSI to TSPlayer
2012-05-25 20:03:27 -06:00
Zack Piispanen
3e0c290243 Dont mess with the vitrual methods. 2012-05-24 18:30:14 -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
8d5cdf04a8 Update copyright to reflect actual year date. 2012-04-24 12:45:46 -06:00
Deathmax
a3158d6311 Don't send another massive tile update after the first one after a teleport. 2012-03-04 21:23:15 +08:00
stevenh
41dbd31aac Converted all files to LF line endings 2012-02-21 15:56:34 +00: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
k0rd
ccda71027b attempting to fix client/server tile disagreements after teleporting 2012-01-29 03:07:19 -05:00
k0rd
1e8cb04fdd allow teleporting and warps at edges of the map 2012-01-28 05:19:15 -05:00
k0rd
6a1e52394a Properly update position for hacky noclip detection and teleportation methods. 2012-01-25 23:28:35 -05:00
Deathmax
ab55481ddb Don't log IndexOutOfRange exceptions in SendTileSquare 2012-01-26 09:50:42 +08:00
k0rd
b66358bef2 Prevents users from sneaking items onto the server by holding them in their hands when ServerSideInventory is enabled. 2012-01-24 00:07:25 -05:00
k0rd
9d0f97851d TShock will now wait 2 seconds before sending another XXX protected from changes for a given protection type - per user. 2012-01-21 21:15:23 -05:00
Lucas Nicodemus
d0c1f42db3 Fixed icetails 2012-01-21 00:32:43 -07:00
Lucas Nicodemus
11802f2a13 Added IceTile system. 2012-01-20 23:25:15 -07:00
Deathmax
b85754ee1f Add debugging info for which method called Disable() 2012-01-14 10:47:27 +08:00
Deathmax
71117ae0b5 Add reasons to all Disable() usages 2012-01-14 10:40:06 +08:00
Natrim
64b0a5c434 fix for GetDataHandlers: ERROR: System.IndexOutOfRangeException: Array index is out of range. in TShockAPI.PlayerData.StoreSlot 2012-01-11 11:08:09 +01:00
Deathmax
78fce47cf8 Fix player position being updated wrongly when teleporting 2012-01-07 14:11:33 +08:00
Lucas Nicodemus
b8e4dffd74 Add new REST endpoint:
- /v2/server/rawcmd

Takes parameters:
 - cmd

Commands have to start with /, some commands aren't written properly, and may not return any more output than a status code.
2012-01-02 22:14:30 -07:00
Lucas Nicodemus
4b77ca549e Users shouldn't "leave" when they enter an incorrect password anymore. Just as soon as someone reimplements the OnLeave hook. 2012-01-01 18:46:06 -07:00
Lucas Nicodemus
bf9d0137f1 Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
DarkunderdoG
4a938af2ec Edited to try and fix warp client crashes 2011-12-31 20:47:54 -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
1e6c74ace0 Fix stuff with teleporting. 2011-12-29 20:23:58 -05:00
Zidonuke
a227369cdc New visual feedback when disabled for security reasons. 2011-12-29 19:59:54 -05:00
Zidonuke
e8a4cb6ae9 Players who get disabled by internal anti spam and anti banned item checks will now get visual debuffs lasting 5 seconds. Note client can't bypass already, server drops many packets for the wait period. 2011-12-29 19:32:28 -05:00
Zidonuke
d5affa3ba5 Fix projectile removal. 2011-12-29 18:53:27 -05: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
Zidonuke
6353f9c877 Fix anti dead protection, some item bans, and default configs. 2011-12-29 02:50:05 -05:00
Zidonuke
b7d84d6855 Implemented guest group config and default group. 2011-12-29 00:38:22 -05:00
Deathmax
63259938f8 Update server binary
Fix linux paths.
Tile compression.
2011-12-29 11:33:34 +08:00
Zidonuke
34efba9c1f Changed hack detection to allow future permissions overrides, now prevents hack clients modding max hp while online. 2011-12-28 21:03:29 -05:00