Commit graph

910 commits

Author SHA1 Message Date
Lucas Nicodemus
4100ecb64e Fix dead players being able to run /home
This commit fixes an issue where players could bypass the respawn timer
by using /home. Specifically, TShock rejects the command if the player
is dead.
2021-06-12 22:26:01 -07:00
Lucas Nicodemus
933c5f9e49 Fix typo in "Amethyst Gemtree"
🍬
2021-06-11 10:22:39 -07:00
Lucas Nicodemus
bf403a17ec Add /god alias for /godmode
Some of these commands really need more intuitive aliases. Therefore,
I've added another intuitive alias that matches other server mods.
2021-06-06 01:19:12 -07:00
Lucas Nicodemus
f811be6cf8 Add /slay alias for /kill
Like all of the other server mods I've used use /slay and not /kill and
it's really frustrating to type the wrong thing so I'm just going to add
an alias and hope nobody else minds.
2021-06-05 20:32:29 -07:00
quake1337
5b9e1dc871 Add WorldInfo broadcast in /worldmode 2021-05-24 10:41:18 +02:00
stacey
a1ddea4f59
Update /gbuff with the same changes
totally forgot this existed
2021-05-14 13:44:37 -04:00
stacey
d2a0a539f4
fix error msg 2021-05-12 22:08:10 -04:00
stacey
306e4d1ab4
fix typo
sigh
2021-05-12 21:45:06 -04:00
stacey
dacc20e9c3
Update buff command HelpText
More properly explain the command functionality
2021-05-12 21:40:44 -04:00
stacey
68c650f4fa
More minor fixes
Reverted default (when no duration is specified) buff duration to 60s, added formula instead of hard coding max duration as per Quake's recommendation, made error message more self-explanatory
2021-05-12 21:36:26 -04:00
stacey
0eadfaba52
Minor fixes 2021-05-12 15:48:38 -04:00
stacey
0d686ea80f
Change duration to actual max value in seconds 2021-05-12 15:39:11 -04:00
stacey
9418e4304f
Change max buff limit from short to int 2021-05-12 13:47:27 -04:00
Lucas Nicodemus
6bb4230bc3 Remove /ungodme
With 1.4.2.2, we no longer need to offer an escape hatch due to the
underlying bug involving godmode being permanently applied to local
players now having been fixed.
2021-04-21 20:16:57 -07:00
Chris
01fc41968d Refactor wallow command & update changelog 2021-04-19 22:04:41 +09:30
Chris
0b890f9507 Merge branch 'general-devel' of https://github.com/Pryaxis/TShock into general-devel 2021-04-19 21:48:37 +09:30
Chris
e80f0bfda5 Add ban ticket ID to ban messages 2021-04-19 21:48:34 +09:30
quake1337
663041e8b0 Fix /r against offline players.
- Offline players will no longer be valid /r targets.
2021-04-17 10:11:49 +02:00
quake1337
3e40ade0ca Added feedback to /ungodme
- The command now tells the user that the operation succeeded.
  Previously it would be a silent command, potentially leaving the user
  wondering if it worked
2021-04-16 10:18:40 +02:00
quake1337
78b72df79d Address JourneyMode Godmode issues
- Add /ungodme to allow unstucking godmode for involuntarily godmodded
  characters
- Warn player about disabling Godmode before disconnecting
- Minor change to command format to reduce code copypaste.
2021-04-16 10:14:46 +02:00
quake1337
4a28d6779f Update casing & remove using static
- god_power -> godPower
- Remove using static on GameContent.CreativePowers, instead fully
  qualify the nested class.
2021-04-16 07:01:11 +02:00
quake1337
207b43e772 Update /godmode to use JourneyMode Godmode power.
- Previous Bouncer checks for GodMode (namely, Hurt) were removed.
- The command now uses the GodmodePower from core Terraria
- The toggle powers (which this command will now make use of) are now
  reset on disconnect to prevent accidentally "gifting" godmode to an
  unsuspecting player.
2021-04-16 06:11:26 +02:00
Chris
c72e64fa5e Add silent command support to spawnboss 2021-04-13 15:15:49 +09:30
Stealownz
4159f6c186 Update firework command to include extra parameter in NewProjectile 2021-04-05 09:49:41 +08:00
Nova4334
709997b728 Rewriting /grow; Adding /wallow 2021-03-21 01:59:44 +01:00
Terrabade
0f42b42d87 Change serverinfo "WinVer" to "Operating system" 2021-02-07 21:19:16 +00:00
Chris
9423febd0a Refactor for new configuration 2020-12-03 17:43:10 +10:30
Chris
514d7ac041 Refactored for 'ticket number' naming
Added 'ban help identifiers' to list known identifiers
Fixed some typos and restructured some logic
2020-11-29 16:22:37 +10:30
Chris
d68b1ed5ad Remove ban conversion command as it now happens automatically 2020-11-29 15:19:14 +10:30
Chris
29170e62a6 Rename unique ID -> ticket number
Also get ban conversion to execute cleanly and clean up after itself
2020-11-29 15:17:49 +10:30
Chris
3e6cdb3c71 Remove ban immunity at the command level.
Ban immunity will be managed when a ban is validated
2020-11-29 14:26:25 +10:30
Chris
cde4cc5f04 Ban rewrite and various other adjustments 2020-11-26 17:20:19 +10:30
Chris
56de9f6684 Ban rewrite 2020-11-15 11:05:04 +10:30
Chris
39e13f74d6 Remove TShock.Itembans in favour of TShock.ItemBans 2020-11-13 19:22:10 +10:30
Patrikkk
ce07c284cf Command.cs - Multiple minor changes. 2020-06-18 14:18:25 +02:00
moisterrific
2c1833342e
Add martians to validEvents response message 2020-06-06 22:54:14 -04:00
Chris
d46f534533 Standardize permission rejection messages 2020-06-02 10:18:40 +09:30
moisterrific
1cb72718c2
Add more bosses to /spawnboss
Add more bosses that has health bars/map icons to the command parameters. Added Lunatic Cultist to /spawnboss "all". Did not include Dark Mage or Ogre bosses since they have two different tier versions. Also added some abbreviations to existing bosses.
2020-05-30 17:57:16 -04:00
Lucas Nicodemus
efeb8b6167
Merge branch 'general-devel' into patch-6 2020-05-30 00:11:18 -07: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
moisterrific
1f045c9a92
Update /spawnboss to include the 2 new bosses
Added Empress of Light and Queen Slime to the list of bosses that can be spawned individually and "all". Also removed the queen case because there are two bosses with queen in their name now.
2020-05-26 15:53:58 -04:00
Lucas Nicodemus
38fb33feb8
Merge branch 'general-devel' of github.com:Pryaxis/TShock into general-devel 2020-05-23 23:34:57 -07:00
Lucas Nicodemus
cdb1953f36
Clean up world save to be less alarmist 2020-05-23 23:33:16 -07:00
Axeel
535c9a2a7e
Fix wind command (#1879)
* Fix wind command
2020-05-24 13:39:50 +08:00
Lucas Nicodemus
f25ed62599
Make setup system less confusing to new players 2020-05-20 15:36:27 -07:00
鱼鱼
946d54b69e fix player spawn stuff 2020-05-20 21:27:49 +08:00
Lucas Nicodemus
dea5e0f8f8
Remove reference to obsolete forums in setup
Thanks to @Retrograde-i486 for pointing this out! Fixes #1793.
2020-05-20 00:25:13 -07:00
Lucas Nicodemus
145885beb3
Remove /confuse command 2020-05-19 22:26:45 -07:00
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
Chris
a178b31333 Fixes world mode some more 2020-05-19 23:04:23 +09:30