Commit graph

44 commits

Author SHA1 Message Date
Janet Blackquill
f63b26ac76 Some i18nifiying 2022-10-21 16:12:04 -04:00
Quinci135
5581bf5e45 Fix torchflags
UsingBiomeTorches: Whether or not the player has the torchgod biometorches ability enabled
HappyFunTorchTime: Whether or not the player has fought the torchgod before (for logic that checks for torchgod spawning)
unlockedBiomeTorches: Whether or not the player has the torchgod biome torches ability unlocked
2021-05-23 04:48:01 -07:00
Lucas Nicodemus
68ae73ffef Warn players if bypass SSC permission is enabled
If a player has the tshock.ignore.ssc permission, odds are that they may
want to know that their data isn't being saved or not. This change
allows users to be notified if they have SSC data stored in the DB but
they aren't having it loaded due to the aforementioned permission.

This permission causes great confusion, but we can't really change it
because we would break existing setups. This is an easy change that
gives people a reason why they suddenly "have no items."

This new option can be turned off in the config file for SSC if it's not
desired.

This change also modifies some of the log messages so that it's clear
why the SSC save didn't occur for a given player.
2021-05-21 01:16:04 -07:00
Chris
9423febd0a Refactor for new configuration 2020-12-03 17:43:10 +10:30
Stealownz
8969ce4a94 Add Torch God's Favor to SSC
Closes #2031
2020-11-01 22:55:50 +08:00
鱼鱼
1ed95c737e pass compile; add void vault code 2020-05-17 21:38:47 +08: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
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
cdbc37b024 Allow /savessc to work on players that bypass ssc
Fixes #1506
2017-12-03 16:22:46 -07:00
White
c4a3a9fb67 Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
Lucas Nicodemus
678f6c7cf8
Update to Mintaka (thanks @enerdy) 2016-12-06 17:36:44 -07:00
DogooFalchion
156df47777 Add mechanism to upload a specific PlayerData to a player. 2016-10-23 18:10:30 -04:00
Adilson Carvalho
49b4effe74 Changed year to 2016 on all GPL headers 2016-10-16 17:06:02 -02:00
Enerdy
aa419283a9 Add PlayerPermission hook, replace p.Group.HasPermission by p.HasPermission everywhere possible. 2016-01-11 14:37:02 +00:00
White
21f16e5908 Fixed female characters losing their femininity 2016-01-10 13:12:51 +10:30
White
be4d741f2b Extra slot will now function correctly in SSC. Fixes #1036 2015-10-09 17:56:56 +10:30
Beau Hastings
943606c870 Fix #1082
Signed-off-by: Beau Hastings <beausy@gmail.com>
2015-10-09 00:01:57 -05:00
tysonstrange
d68fe61d21 Update CharacterManager.cs 2015-09-18 07:58:42 +10:00
tysonstrange
9c3d38e23d Update CharacterManager.cs 2015-09-17 21:10:30 +10:00
White
23ab14df4f Added backwards compatibility for SSC 2015-07-10 16:58:32 +09:30
White
e5cbee82e9 Backwards compatibility for databases with pre-existing SSC entries 2015-07-10 14:34:42 +09:30
Enerdy
0e23ffa1a6 Fixed issues with BitsByte. TShock should compile again. 2015-07-04 17:17:26 +01:00
MarioE
ad5ec1c252 Fix NetItem serialization/deserialization 2015-05-04 22:28:41 -04:00
MarioE
d5fb8726cc Extend NetItem 2015-05-04 22:11:10 -04:00
White
44ad0c68b8 Change TSPlayer.UserID to TSPlayer.User.ID, as well as refactoring some of UserManager.cs. Solves #916 2015-05-01 11:18:37 +09:30
Lucas Nicodemus
cbce64f1eb Remove more obsolete code; fix tab/space screwup in TSPlayer 2015-02-28 19:37:06 -07:00
Zack
17ea9e0875 Use the NetItem max inventory when seeding the database. 2015-02-22 17:14:57 -05:00
Lucas Nicodemus
04145a4aca Re-add EnsureExists signature to fix compat with old plugins
Fixes #862
2015-02-22 08:43:12 -07: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
White
3860f39a8b Inserts the right number of elements into tsCharacter, with fixed tabbing 2014-05-21 14:56:23 +09:30
AquaBlitz11
9dbcd59624 Fix word typo
Word is spelled correctly but in wrong order.
2014-05-16 18:06:42 +07:00
Zack Piispanen
0ea58cde3e Update SSC to include quests, skin color, eye color 2014-05-13 23:08:23 -04:00
CoderCow
39a81cfa66 -SSC now saves player hair, hair color, hair dye, cloth colors and accessory visibility.
-Fixed hair changes now showing up to other players ingame.
2014-02-26 22:24:03 +01:00
Zack Piispanen
ddb2afefe9 Fix hardcore deaths by wiping and reseeding the tsCharacter table.
Log to server/logs chat over head.
2013-10-11 00:49:46 -04:00
MarioE
7e5909e04c Fix column mismatch 2013-10-04 19:55:14 -04:00
k0rd
48a94b6247 Initial handling for saving/using beds with SSC 2013-10-04 00:14:52 -04:00
Zack Piispanen
9304c128b0 When an account is registed seed the CharacterDB with the proper start values. 2013-10-01 20:39:28 -04:00
k0rd
a91930967f fixes for SSC 2013-10-01 18:20:49 -04:00
k0rd
1945b50d91 "Character" is a reserved keyword in mysql, changed to "tsCharacter" to fix. 2013-10-01 15:45:12 -04:00
Zidonuke Ghost
0d351778a7 Initial server side character system implementation. 2013-10-01 06:22:08 -04:00
Renamed from TShockAPI/DB/InventoryManager.cs (Browse further)