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
Lucas Nicodemus
70bf515ae0
Actually use the aformentioned variable instead of ChatFormat
2012-05-27 11:36:37 -06:00
Lucas Nicodemus
6528a9e8f1
Added a config option for the formatting to use if chataboveheads is on
2012-05-27 11:03:58 -06:00
Lucas Nicodemus
8bcc24da7e
Added some code to enable chat above heads
2012-05-27 10:19:52 -06:00
Deathmax
2b0549f04c
Fixes fix #439
...
Client saves world name prior to OnJoin being called.
2012-05-27 21:01:11 +08: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
d9a53cda30
REST & console window title report port correctly
...
Fixes #443
2012-05-26 11:59:31 -06:00
Lucas Nicodemus
8ea0b40214
Removed some old code
2012-05-26 11:52:05 -06:00
Lucas Nicodemus
d01ae01468
"{Player} has left" is now only displayed if their state is > 2
...
Fixes any issues pertaining to people connecting and being dead from
that point on. May lead to a fix for players already being on the server
that haven't yet accepted world data.
2012-05-26 11:35:08 -06:00
Lucas Nicodemus
9836406cfc
In the mess of a method that is OnGetData, it makes no sense to logically check to see if something is both greater than 12 but not 5.
2012-05-26 11:19:36 -06:00
Lucas Nicodemus
8ecabb7f2e
All TShock methods calling the obsolete ForceKick function now use the new one
...
Subnote: fixes an issue where players would be reported as kicked to the
ingame console.
2012-05-26 09:50:15 -06:00
Lucas Nicodemus
7103649e13
VERSION TICK: 3.9.0.0526
2012-05-25 23:59:42 -06:00
Lucas Nicodemus
55ff9cea23
Update to TerrariaAPI 1.12
2012-05-25 23:56:06 -06: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