Commit graph

660 commits

Author SHA1 Message Date
Zack Piispanen
98a282cd2a Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2013-10-01 04:53:06 -04:00
Zidonuke Ghost
b2a8198bb1 Client UUID Implementation: Bans and User Auth.
Send ServerSideCharacter flag if set in WorldInfo.
2013-10-01 04:35:49 -04:00
Zack Piispanen
ce73b0c0b5 Add canchat permission as well as godmode being a toggle command. 2013-10-01 04:20:52 -04:00
k0rd
2569c10823 fixes warps, tp [name], tphere (no longer places you below the target) 2013-10-01 02:12:05 -04:00
Zack Piispanen
fb9a3d0e1b Music box fix 2013-09-30 20:11:01 -04:00
Zack Piispanen
f21adbfc42 GiveItem sets velocity.
Give every player 10 confetti on greet for hype.
2013-09-30 19:45:25 -04:00
Zack Piispanen
98a7e7f080 Added SSI Updates. 2013-09-30 18:41:54 -04:00
k0rd
584950bc6f Added a check to see if player has recently lit a fuse
This will prevent cheat detection from wrongly triggering if the player uses a fused explosive and quickly switches to another weapon before the explosive detonates.

I also commented out a block where we force explosives server-side, this would usually cause dynamite to explode in the wrong position when it bounced around too much.
2013-09-30 06:45:33 -04:00
Zack Piispanen
7ea9be6e75 Changed how EditTile was handled so that we have enums and pass those instead of confusing bytes.
Comments should be updated to reflect new stuff.
2013-09-29 18:11:08 -04:00
Zack Piispanen
1bade821da Nothing to see here... 2013-09-29 08:26:05 -04:00
Zack Piispanen
1a2f874285 Implemented Packet Teleport mechanism. 2013-09-29 03:37:20 -04:00
Zack Piispanen
e148d29c66 Added packet changes for 1.2 protocol up to 7(world info) 2013-09-29 01:02:07 -04:00
Zack Piispanen
7731bc46f1 More minor fixes 2013-09-28 23:52:51 -04:00
Zack Piispanen
c17b661166 Stripped out stupid shit
Commented packets we dont know about yet.
2013-09-28 17:32:03 -04:00
Lucas Nicodemus
1a1d980186 VERSION TICK: 4.1.0.926 & Terraria 1.2 Code Freeze 2013-09-26 02:11:05 -06:00
Zack Piispanen
cc70a37af0 spaces: 0 tabs: 1 2013-09-22 23:33: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
Zack Piispanen
856def83b3 Added basic framework for allowing for ban durations and banning admin.
Added BanningUser, Date(of ban), and Expiration to the db
On join, Expiration is checked, if ban is expired we remove it and the user is allowed on.
When running the ban command, your UAN is used as the banning user, and the date is that moment, with no expiration.
#531
2013-09-22 16:04:12 -04:00
Zack Piispanen
7c0bcceb9f Added LastAccessed time field and KnownIPs field to the user database. This resulted in some changes everywhere, such as new logic with default groups. Apparently, somehow, the ip based stuff worked even though no ips were set to properly grab the user group. The wrong group was being assigned to new users resulting in a player with 0 permissions. This is now fixed. 2013-09-21 20:57:14 -04:00
Zack Piispanen
ba42fb08df Removed ip address from users, as well as changed /user add syntax to be '/user add username password group' instead of colon bullshit. 2013-09-21 17:11:22 -04:00
Zack Piispanen
4fed645fde Added config override for stat hacks. This makes updating for 1.12 easy as well since these will change then, small part of #525 2013-09-21 16:06:01 -04:00
Zack Piispanen
b22457382e remove unused using statements 2013-09-17 02:24:02 -04:00
Lucas Nicodemus
8fb046f5b3 Removed old, crusty stat tracker. 2013-08-22 22:50:59 -06:00
Lucas Nicodemus
ae7ab5f234 Updated copyright information to point to 2013. 2013-08-22 21:51:17 -06:00
CoderCow
d9ff9a6ac5 REST resolves the user's group on each request now. 2013-07-27 20:01:48 +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
MarioE
a86799cbb9 Changed the server's lighting mode to 2. This will fix any glitches caused by the decreased world size. 2013-07-08 21:39:14 -04:00
CoderCow
863082dfc3 Added "-logpath" command line parameter.
Added "LogPath" config setting.
2013-06-29 12:15:32 +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
Zack Piispanen
b37552ff27 Updated api to 1,13. 2013-04-19 23:54:11 -04:00
Zack Piispanen
a8ce4e511e Added fix to override chest stack size checks at startup. 2013-03-31 19:41:23 -04:00
Scavenger3
6315fcc533 Fix SilentKickInProgress 2012-11-30 17:12:00 +10: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
Lucas Nicodemus
673f25f881 Added some formatting changes to log files. Fixed #458 2012-09-23 01:12:05 -06:00
Lucas Nicodemus
e00551cb6d Updated catchy version nickname 2012-09-23 00:35:31 -06:00
Zack Piispanen
88394ac561 Added back in region manager.
Added back in spawnmob commands, including the obsolete boss commands.
2012-09-15 16:20:16 -04:00
MarioE
2e2539a4d1 Rename RememberedPosManager, also remove some deprecation messages. 2012-08-20 10:53:02 -04:00
MarioE
f4dbb552da Fixed some more grammar 2012-06-04 21:22:39 -04:00
Zack Piispanen
be45fb762b Removed some deprecation messages. Added some more docs. 2012-06-01 13:08:53 -04:00
Zack Piispanen
0536fe5775 remove some more region stuff. 2012-05-31 17:47:01 -04:00
Zack Piispanen
b56a77b39d Removed the Region code. Left todo's for the places where we currently reference it though. 2012-05-30 20:12:27 -04:00
Zack Piispanen
11a85dc817 Format issues and tile place check for walls 2012-05-30 18:31:40 -04:00
Lucas Nicodemus
0bbc6ab040 Removed debug code 2012-05-30 14:08:13 -06:00
Lucas Nicodemus
77d7e506e5 Implemented the new NameCollision hook.
In other words, people that cancel connection at the password screen
that meet certain conditions will be disconnected if another attempt
happens from that same IP.
2012-05-30 13:55:56 -06:00
Deathmax
4eaf64709b Re-add ServerNickname and copies it to ServerName 2012-05-30 10:19:12 +08:00
Deathmax
55ae626131 Remove unnecessary hypen in console title 2012-05-30 10:05:39 +08:00
Lucas Nicodemus
18a1312646 A little more festive 2012-05-27 12:36:58 -06:00
Lucas Nicodemus
917c65d6b8 Added scam warning
Version ticked a little early
2012-05-27 12:31:39 -06:00
Lucas Nicodemus
a9a9ccef47 Shut up ReSharper, that isn't localizable 2012-05-27 12:06:13 -06:00
Lucas Nicodemus
5929bd73b2 Add ASCII art 2012-05-27 12:03:12 -06:00