Commit graph

921 commits

Author SHA1 Message Date
Lucas Nicodemus
ba851d3570 Remove TShock.CheckProjectilePermission
Add TSPlayer.HasProjectilePermission() and its inverse:
	TSPlayer.LacksProjectilePermission()
2017-12-10 23:38:03 -07:00
Lucas Nicodemus
031398591a Merge remote-tracking branch 'origin/general-devel' into fragments 2017-12-09 08:44:49 -07:00
Edgar Luque
07da3d5f58 missed some more declarations 2017-12-08 01:48:08 +01:00
Edgar Luque
6589531868 Renamed TShockAPI.DB 'User' to 'UserAccount' 2017-12-08 01:38:15 +01:00
Lucas Nicodemus
4e3cd00848 Merge branch 'general-devel' into fragments 2017-12-06 21:14:45 -07:00
Lucas Nicodemus
e782a07564 Move SendTileSquare handling for Bouncer into Bouncer 2017-12-05 02:32:33 -07:00
Lucas Nicodemus
fc233bd3f1 Move ComputeMaxStyles to Utils 2017-12-04 21:57:59 -07:00
Lucas Nicodemus
e85d79e23d Move Distance to Utils.Distance 2017-12-04 21:53:46 -07:00
Lucas Nicodemus
17982bd766 Move SetConsoleTitle to utils 2017-12-04 21:49:56 -07:00
Lucas Nicodemus
7c47fbb3f2 Move FixChestStacks() to utils 2017-12-04 21:45:25 -07:00
Lucas Nicodemus
39733a116d Fix issue where temp bans were stored incorrectly
Bans were being stored as seconds, should be a DateTime in s format
with seconds added on to existing time.
2017-12-02 20:59:30 -07:00
Lucas Nicodemus
7160e758b2 Unbreak comment OnPlayerPreLoginOnPlayerPreLogin 2017-12-02 20:44:17 -07:00
Lucas Nicodemus
718525904a Add remaining backbone for banning accounts (sort of)
Frontend still doesn't work properly. In particular:

1. Need a way to list bans by account name.
2. Need a way to unban by account name.
3. Really need a way to change the IP on a ban lol.

Ban system still needs to be be rebuilt fully, but at least this
doesn't necessarily character ban someone if you were going for an IP
ban.

Fixes #1412
2017-12-02 20:41:14 -07:00
Lucas Nicodemus
204f4c3f4f Add succinct GPL disclaimer. Fixes #1430. 2017-12-02 18:09:24 -07:00
quake1337
e6ec63a90e Add @ijwu's changes + add /proc/meminfo trick for linux 2017-09-20 09:27:28 +02:00
quake1337
68437f0a22 Add "less than 2gb ram" warning 2017-08-14 14:39:22 +02:00
MarioE
241d4c566f Fix incorrect slot calculation, and update submodule. 2017-06-23 14:44:17 -04:00
MarioE
331eeb8cec Fix SaveManager saving when 1 player is on the server and another joins
The real fix would be to fix ServerLeave to not fire incorrectly when a player joins, but this will do for now.
2017-06-19 01:15:45 -04:00
death
81e21f31dc Submodule update and new grass creep checks
Pulls through the latest OTAPI to make use of the new WorldGrassSpread hook which should allow corruption/crimsion/hallow creep config options work.
2017-05-16 22:41:27 +10:00
ZIT WANG
8116aebd2c Fix itemban not working on non-English language 2017-05-12 18:06:49 +08:00
White
528d9c642b Fixes a Non-SSC chat over heads bug. Should solve #1436 2017-05-03 21:49:19 +09:30
Lucas Nicodemus
53d9e7523f
Remove -lang from TShock (supported in Vanilla) 2017-04-22 20:41:43 -06:00
Lucas Nicodemus
36538caa43 Merge pull request #1426 from mistzzt/t-1.3.5
Add Localization support
2017-04-22 10:01:34 -06:00
White
1f3a09d738 Better workaround for Terraria chat commands, courtesy of @DeathCradle 2017-04-22 18:24:16 +09:30
Lucas Nicodemus
22c1992074
Turn dumping back on 2017-04-21 10:16:15 -06:00
ZIT WANG
930607a142 Add Localization support
* Add EnglishLanguage type to store English texts
* Itemban now store English item name
* Command `/i` `/give` `/sm` `/tpnpc` can use both English and current language input
2017-04-21 21:58:37 +08:00
White
f1ba9cbd01 Resolve issues with /me and chat over heads 2017-04-21 22:39:17 +09:30
Lucas Nicodemus
72677506d6
Update to API 2.1 2017-04-20 00:06:27 -06:00
Lucas Nicodemus
2d14533172
Terraria 1.3.5 changes compile (NO GUARANTEES ON EXECUTING) 2017-04-19 18:21:34 -06:00
Lucas Nicodemus
95ad2aeeab
Replace more name + Name calls 2017-04-19 17:25:33 -06:00
Lucas Nicodemus
2a5efa65ae
Saving work to apply merge changes
Currently moving .name to .Name and things like that from Item
2017-04-19 17:12:38 -06:00
White
c4a3a9fb67 Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
White
fc7460c7d5 Added and implemented a basic command-line parser.
This replaces the switch-case in HandleCommandLine and HandleCommandLinePostConfigLoad
2017-03-13 11:43:41 +10:30
White
b3a2b24daa Updated the Stat Tracker to use System.Net.Http types.
Very similar to the previous Update Manager changes. The stat tracker now uses asynchronous threaded calls and manages exceptions better
2017-03-06 21:35:14 +10:30
Zt Wang
6446cdc2b6 Remove redundant codes 2017-02-15 21:13:20 +08:00
Zt Wang
fa6b5845f0 Add Evil Type option during world creation 2017-02-15 18:42:53 +08:00
White
0ba826e1fd bandaid fix for invalid indexes in OnLeave 2017-01-17 16:13:30 +10:30
White
4f7a15f9bf Ensures Netplay.ServerPassword is always empty.
This prevents an issue in which packets are sent in an unexpected order resulting in clients being unable to connect when a CLI-defined password is used.
A CLI-defined password will now override any TShock config-defined password.
2016-12-31 11:33:48 +10:30
DogooFalchion
84a84bdf05 Remove todo reminder. 2016-12-21 20:44:42 -05:00
DogooFalchion
95c5129fa9 More SSC cleanup. 2016-12-21 20:43:09 -05:00
Lucas Nicodemus
b4f37a60c9 Merge branch 'general-devel' into mintaka 2016-12-14 10:02:02 -07:00
Lucas Nicodemus
cda07b4be5 Merge pull request #1324 from DogooFalchion/more_dumps
More Terraria dumps for NPC/Item/Projectile/Buff/Prefix
2016-12-12 13:11:59 -07:00
Enerdy
e6fe896133 Update version codename
Project Mintaka - The First Star
2016-12-11 23:44:13 +00:00
White
02c58b5c93 Submodule update + API version update 2016-12-11 13:46:11 +10:30
Luke
272cc31b28 Fixes rest api error on startup without -ip arg 2016-12-10 02:30:15 +10:00
Lucas Nicodemus
e4313b6433
Update to latest stuff from death 2016-12-06 20:34:12 -07:00
Lucas Nicodemus
678f6c7cf8
Update to Mintaka (thanks @enerdy) 2016-12-06 17:36:44 -07:00
Zaicon Kiroshu
a0a98d19f3 Bank3 Implementation 2016-11-23 18:51:11 -06:00
Zaicon Kiroshu
02815a23ef API Tick, Submodule Update, Changelog Update 2016-11-20 15:15:53 -06:00
DogooFalchion
c35389f9f8 Break Item dump into versions. Readme.io 400kb limit O_o 2016-10-26 18:08:07 -04:00