stacey
a2804b6c89
Update how it looks
2021-05-14 13:23:42 -04:00
stacey
a9e8cd7ca5
update default motd to use %specifier
2021-05-14 13:00:56 -04:00
Chris
b5ca015d26
Minor refactor
...
CheckForMissingFields -> CheckForChanges
anyMissingFields -> anyChanges
2021-01-28 19:43:03 +10:30
Chris
f87b6156f4
Update config upgrades to be a bit more robust
2021-01-28 19:31:09 +10:30
Chris
7bbc647b2f
Update config field check to correctly check TSettings fields
2020-12-23 01:48:23 +10:30
Chris
193f1ddc3e
More new() constraints
2020-12-03 17:51:33 +10:30
Chris
9423febd0a
Refactor for new configuration
2020-12-03 17:43:10 +10:30
ZakFahey
90f519a1c6
Overwrite the config if any new fields are missing
2020-08-01 10:13:04 -07:00
ZakFahey
ccb2a00a71
Fix config file access errors when starting up multiple TShock servers at once
...
Use case would be multi-server networks. This commit ensures that sscconfig.json is read with FileShare.Read enabled and stops writing to config.json and sscconfig.json on server load immediately after reading it if the file already exists, which is a no-op since neither of the config files have changed at that point.
2020-07-27 10:05:28 -07:00
Lucas Nicodemus
70dd72443d
Update copyright to 2019 again
...
Fixes #1658 , most likely.
2019-03-29 17:16:37 -07:00
Lucas Nicodemus
569b350cea
Update to Pryaxis, 2018 part 2
...
If there's one thing I learned in this exercise, it's that letting
people add random python scripts to the repo like gpltext.py that
promise to be easier than find and replace is a bad idea.
2018-01-01 02:20:56 -07:00
Lucas Nicodemus
8d934ef08f
Update to 2018
2018-01-01 02:17:21 -07:00
Lucas Nicodemus
2846ad915f
Change default motd format to use new colors
...
Since we just removed the old color format, we probably shouldn't ship
the old motd that still uses legacy colors to people.
2017-12-31 01:41:16 -07:00
Lucas Nicodemus
4eebaf6c44
Rename methods that were ambiguous in meaning.
...
This renames some methods in the Utils class to better reflect what they
do or what they provide back. It should be clearer what these methods
are for now than before.
2017-12-29 08:50:48 -07:00
White
c4a3a9fb67
Updated Copyright for 2017
2017-03-13 12:17:16 +10:30
Adilson Carvalho
49b4effe74
Changed year to 2016 on all GPL headers
2016-10-16 17:06:02 -02:00
MarioE
d5fb8726cc
Extend NetItem
2015-05-04 22:11:10 -04:00
Zack Piispanen
5488be0857
Clean up some spaces in FileTools, and make the motd format a const.
2015-03-16 12:50:38 -04:00
Zack Piispanen
8a7aae9143
Purge "initial vanilla inventory" from playerdata, and pushed it to the SSC config creation if not existing.
2015-03-16 12:47:44 -04:00
Zack
f9bf470b1d
Tick version and update copyright
2015-01-28 15:29:13 -05:00
Zack
fb451c6d49
Update license header for 2014
2014-07-10 21:48:33 -04:00
Zack
915e791406
Initial work to move all Server Side Character code to its own module.
2014-07-10 21:09:32 -04:00
Lucas Nicodemus
ae7ab5f234
Updated copyright information to point to 2013.
2013-08-22 21:51:17 -06:00
Zack Piispanen
896a8272c9
Removed old rememberleavepos variable and added docs.
2012-06-01 13:12:56 -04:00
Lucas Nicodemus
8d5cdf04a8
Update copyright to reflect actual year date.
2012-04-24 12:45:46 -06:00
stevenh
41dbd31aac
Converted all files to LF line endings
2012-02-21 15:56:34 +00:00
Lucas Nicodemus
332bfe99f4
Removed try cache on config file, will now fail startup. Fixes #334
2012-02-02 21:41:14 -07:00
Lucas Nicodemus
c3d37846bd
More work on trying to fix this.
...
Changed MOTD to be a bit more convincing to change.
2012-01-21 00:10:59 -07:00
Lucas Nicodemus
bf9d0137f1
Added any missing license headers to all files
2012-01-01 03:06:48 -07:00
Lucas Nicodemus
c6abbfe4d2
ReSharper code reformat to match naming conventions and stuff
2011-12-30 14:38:04 -07:00
Lucas Nicodemus
8514140ca7
As per High's complaining, holocaust against the Tools class (now Utils)
...
Plugin developers: You really need to change to reference this.
2011-12-01 23:24:02 -07:00
high
56eca71853
Fixed SCA warnings
2011-08-06 16:49:40 -04:00
Twitchy
8f28bd2b7d
Adds SetTable to DBTools, makes Tools and FileTools public, for TShock mods
2011-07-28 23:22:35 +12:00
Lucas Nicodemus
37146adb4c
Resharper code cleanup, including:
...
- Optimized using statements
- Removal of redundant code
2011-07-26 23:37:06 -06:00
Twitchy
3e17e42a37
Adds MySql Support
2011-07-12 13:31:36 +12:00
Twitchy
d79b893356
Removes some old .xml creation that is not needed
2011-07-08 23:38:47 +12:00
high
91abde27d2
ConfigFile and ConfigurationManager merged into 1.
...
Check OnConfigRead for a list of variables that will now be updated when the config file is reloaded.
2011-07-01 13:19:16 -04:00
high
2468ecab7e
Moved HandleCommandLine to the start of Initialize.
...
Made SavePath not used before HandleCommandLine so that -configpath would work.
2011-06-28 11:29:03 -04:00
Twitchy
57627f6846
regions.xml and warps.xml are now located in tshock dir. Will auto move them on first run
2011-06-25 04:37:55 +12:00
Deathmax
c908d62b5e
Fixed issues with whitelist.
2011-06-23 22:21:19 +08:00
Deathmax
a030a8ba0f
Whitelist now accepts hostnames as well.
2011-06-23 22:13:48 +08:00
Twitchy
df1cbab1f5
Adds option to remember leave positions. Change to true in config.json
2011-06-23 20:43:57 +12:00
Twitchy
d2c1082c59
Adds banned items. Delete groups.txt and run server once.
2011-06-22 19:51:10 +12:00
ricky
07d607a9b6
Fixed json config file changes made while server is running lost if reload is not performed before restart
...
Fixed unban not saving to file until server shutdown
2011-06-16 10:18:22 +10:00
high
780cb36f30
Added exception handler to loading config.
2011-06-15 19:00:34 -04:00
ricky
1ea6d2e955
Fixed exception in commands crashing the server
...
Removed Tools.WriteError using Log.Error instead.
2011-06-15 20:54:32 +10:00
ricky
3f8b78d3b7
Overridden console playing to print tshock player group
...
Kick player before shuting down from console
2011-06-15 12:02:21 +10:00
high
43beb99cb7
This is C#, not javascript!
2011-06-14 18:21:14 -04:00
high
966735ec2e
More code tidying.
2011-06-14 18:13:46 -04:00
Shank
b8b4b6c8e8
Added /rules, reads from ./tshock/rules.txt
2011-06-14 02:06:04 -06:00