Commit graph

147 commits

Author SHA1 Message Date
xuyuwtu
75c8a8ced4 Use better code 2026-01-29 13:50:09 +08:00
SGKoishi
4e26051869
Fix some confusion introduced by 98eed42 and b184133 2025-03-15 14:09:00 +09:00
Lucas Nicodemus
c89c34b356
Merge branch 'general-devel' into add-moondial-permission 2025-03-10 00:49:27 +09:00
Arthri
ad36e7eeb6 Add permission for Moondial and unrecognized SFX 2024-04-09 03:43:27 +00:00
Stargazing Koishi
51ecef73a1
Optimize Linq
Co-authored-by: Arthri <41360489+Arthri@users.noreply.github.com>
2023-05-13 04:09:15 -07:00
SGKoishi
3d11d84d73
Fix dump-reference-data mutate command name 2023-05-13 03:56:07 -07:00
SGKoishi
fde43a7730
More i18n
Strings for player kick/ban, anti-cheating and server logs
2022-11-02 13:42:52 -07:00
yuyu
4621a2f7f5 Update Bouncer / OnNPCAddBuff 2022-10-26 22:17:25 +08:00
Lucas Nicodemus
fa9717debf
Change dumper to dump to markdown-ish files 2022-10-18 23:50:01 -07:00
0x3fcf1bbd
5e54445818 Added lanterns night event to the worldevent command. 2022-01-15 23:49:37 +01:00
stacey
c1f14367e6
Add respawn and respawnother permissions 2021-07-31 14:01:17 -04:00
Killia0
154bee58f1 Typo fixes on comments/strings
My first PR contribution to TShock is spellcheck huh, frankly I don't know why but hey I could spare the time for this and caught some stuff.
2021-07-16 14:53:37 -04:00
James Puleo
b3cf5f4e43
Implement additional teleport permissions.
This adds the follows permissions to the following items:
- tshock.tp.tppotion:   Teleportation Potion
- tshock.tp.magicconch:  Magic Conch
- tshock.tp.demonconch: Demon Conch
2021-05-11 14:17:36 -04:00
Nova4334
709997b728 Rewriting /grow; Adding /wallow 2021-03-21 01:59:44 +01:00
Chris
fe91cb0d41 Obsolete the Permissions.immunetoban field 2020-11-29 18:12:40 +10:30
Patrikkk
3cc8a75b9b
Merge branch 'general-devel' into emojipacketevent 2020-06-02 11:21:19 +02:00
Chris
48d610d33f Move netmodule handling into handlers namespace
Add handler for teleport pylons, and permission for teleport pylons
2020-06-02 12:59:14 +09:30
Patrikkk
f538ceb793 Adding EmojiHandler to handle an exploit. Adding sendemoji permission and checks.
I know, this is not something important, but I'm going through the new packets one by one and adding events developers can work with, patching exploits, and thought this could be a core permission.
2020-06-01 15:24:02 +02:00
Lucas Nicodemus
f82ab41a25
Add /sync command to alleviate door related sadness
Run /sync if your doors disappear. This will resync your local client
with the server state. For more information, please see the associated
changelog entry.
2020-05-29 21:04:48 -07:00
Patrikkk
6fa288e5db Read PowerModule netmodule data and check for permissions
Removed leftover from previous commit. Fixed a typeo.
2020-05-25 01:36:26 +02:00
Patrikkk
d253903de0 Add journey permissions to Permissions.cs 2020-05-25 01:17:11 +02:00
Patrikkk
cb570ec2e0 Wrap permissions in #regions. 2020-05-24 22:59:02 +02:00
Chris
2df23c53b7 Add annotations to new permissions 2020-05-20 00:39:24 +09:30
Chris
6ecdf8545f Consolidated a number of world event commands into one master command
`worldevent` is now the root for the following:
Meteor, fullmoon, bloodmoon, eclipse, invasions, sandstorm, rain.
Added a new set of permission nodes to represent world events: `tshock.world.events.*`
2020-05-20 00:11:04 +09:30
Lucas Nicodemus
16df9bb16c
Update "spawn boss invasion" get data handler
This is really "spawn arbitrary stuff" and it can create invasions,
pets, and bosses now.
2020-05-17 22:44:10 -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
793cfcb842 Remove broken noclip detection
See the changelog entry for this. Basically, it's worse to keep
confirmed broken noclip detection in, even if it detects noclip 90% of
the time, because a random hacker can make a better noclip system and
just evade it 100% of the time by exploiting holes.
2017-12-26 20:28:38 -07:00
Lucas Nicodemus
4158990bee Turn off XML comment warnings for permissions 2017-12-23 09:38:19 -07:00
Lucas Nicodemus
12b83f6f85 Chop out some unused code. 2017-12-23 09:36:18 -07:00
Lucas Nicodemus
4ea7d10482 Remove stupid updates permission. Fixes #1540. 2017-12-11 15:45:23 -07:00
Lucas Nicodemus
691a368425 Change permission node to tshock.cfg.createdumps 2017-12-09 20:42:47 -07:00
Lucas Nicodemus
63179deaa5 Adds /dumpdata which dumps the permission table & ref data. 2017-12-09 15:54:51 -07:00
Lucas Nicodemus
0bbd128f13 Implement /su command & default group owner
/su elevates you to superadmin for 10 minutes.
Account creation instructions tell you to use the "owner" group.
If you fail to run a command but have the su permission, you're told
that you can override it.

Fixes #1505
2017-12-02 15:07:19 -07:00
Lucas Nicodemus
5183190745 Update Permissions to be more clear on SSI vs SSC 2017-04-12 12:50:16 -06:00
White
c4a3a9fb67 Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
Zaicon Kiroshu
50d8b0db30 1.3.4.3 Update (API 1.26) 2016-11-19 17:05:08 -06:00
Hussein Farran
7d323f253a Merge pull request #1321 from DogooFalchion/ssc_join_inv
Enable user to upload their data from when they join as SSC
2016-10-23 20:58:40 -04:00
DogooFalchion
49a0cc0cc5 Add permission for uploading other's SSC data. Allow this to run from console. Allow command to upload remote user's data. 2016-10-23 19:59:57 -04:00
DogooFalchion
f1ce158efd Implement logic to store the data of a player when they join, and allow for a command to be run that will upload that data in place of their existing SSC data. 2016-10-23 18:11:44 -04:00
Lucas Nicodemus
a0c4864567
Removed all obsolete methods from TShock 2016-10-23 06:09:17 -06:00
Rodrigo
78a4185152 Merge pull request #1312 from Simon311/general-devel
Add /accountinfo, fix offline bans exploit, fix #1309 more
2016-10-18 18:59:13 +01:00
Simon
186bb70186 Add /accountinfo, fix offline bans exploit, fix #1309 more 2016-10-18 09:50:10 +03:00
Adilson Carvalho
49b4effe74 Changed year to 2016 on all GPL headers 2016-10-16 17:06:02 -02:00
Enerdy
2320a913b4 Mark pointless permission as obsolete 2016-10-14 23:13:25 +01:00
White
36343dd8e7 Add a sandstorm command 2016-09-22 19:13:50 +09:30
ProfessorXZ
952da9609a Fixes #1197 2016-08-01 22:39:01 +02:00
White
b2bd40b8f2 Resolved merge conflicts on sundial-permission 2016-07-28 11:20:37 +09:30
Patrikk
111a0a2456 Add usesundial permission | Fix #1247 2016-07-27 21:19:33 +02:00