Lucas Nicodemus
d972f60fa0
Add /sudo command.
...
Usage: /sudo /command.
Works on the same basis as /su (requires tshock.su).
Replaces message that /su should be used for a one off command.
2017-12-02 17:17:20 -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
koneko-nyan
6606c7a7b7
Merge branch 'general-devel' into patch-1
2017-10-13 09:30:08 +02:00
koneko-nyan
aaa84d1ba9
Add 'rename' sub-command to /region
2017-10-02 17:45:57 +02:00
ProfessorXZ
08e182f59e
All GroupManager.RenameGroup() database calls are now done in a transaction
...
As pointed out by @hakusaro, in order to prevent any damage during the process all database calls need to be done in a transaction. Transactions allow us to rollback from a pending state in case something goes wrong.
2017-09-23 22:41:41 +02:00
ProfessorXZ
02806a2429
Added support for renaming groups. Fixes #1420
2017-09-21 10:51:37 +02:00
koneko-nyan
c8549db087
Update Commands.cs
...
(time % 1.0) * 60.0 can be equal to 59.8, then it gets rounded to undesirable 60 displayed in the time format
2017-09-19 21:00:15 +02:00
MarioE
ac8fe2a215
Remove netID handling of GiveItem, and provide a smaller overload
2017-07-15 13:32:35 -06:00
MarioE
9ad63c37a6
Fix /spawnmob not spawning negative IDs again.
2017-06-21 01:21:32 -04:00
MadMan2021
194522eaa0
Increased /butcher damage to defence fixes issue #1447
2017-05-11 23:27:56 +01:00
ZIT WANG
c161be102d
Add displaying ids when sending error responses
2017-05-03 08:25:50 +08:00
ZIT WANG
f47c6505ab
Add null check for English name
2017-04-22 07:34:59 +08: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
Lucas Nicodemus
2d14533172
Terraria 1.3.5 changes compile (NO GUARANTEES ON EXECUTING)
2017-04-19 18:21:34 -06:00
Lucas Nicodemus
2dee3edb3d
Replace more .names with .FullName or .Name respectively
2017-04-19 17:33:17 -06:00
Lucas Nicodemus
46c42536c9
Replace calls to Main.buffName to Lang.GetBuffName
2017-04-19 17:22:46 -06:00
White
c4a3a9fb67
Updated Copyright for 2017
2017-03-13 12:17:16 +10:30
White
51b796cf47
Updated the UpdateManager.
...
It now performs all its web requests asynchronously and does a better job of explaining errors it encounters without plastering red Exception messages on the console.
2017-01-06 13:30:24 +10:30
ProfessorXZ
75f639ee47
Fixes #1347
2016-12-18 13:30:16 +01:00
ProfessorXZ
7c8bf7712a
Added TSPlayer.Logout()
2016-12-18 12:37:15 +01:00
White
739892a611
Added TSPlayer.KillPlayer() which uses NetMessage.SendPlayerDeath(...).
...
Changed /kill to use `TSPlayer.KillPlayer()`
2016-12-11 13:46:57 +10:30
Lucas Nicodemus
678f6c7cf8
Update to Mintaka (thanks @enerdy)
2016-12-06 17:36:44 -07:00
Zaicon Kiroshu
50d8b0db30
1.3.4.3 Update (API 1.26)
2016-11-19 17:05:08 -06:00
Lucas Nicodemus
1328d71fdc
Merge pull request #1317 from DogooFalchion/motd
...
Update MotD file parsing to convert color formats into smart text.
2016-10-23 19:27:52 -06:00
Lucas Nicodemus
6344051678
Change verbiage slightly on some /uploadssc messages
2016-10-23 19:02:44 -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
28cd87cea0
Add 'stop' command alias for 'off' and 'exit'
2016-10-23 04:38:25 -06:00
Lucas Nicodemus
c905a086d1
Remove commented out "updateplugins" command that does nothing.
2016-10-23 04:34:26 -06:00
DogooFalchion
31794b6a27
ShowFileToUser shouldn't assume the file is in the TShock folder. Use the file path variables where we can. Use smart text instead of removing color parsing.
2016-10-22 19:01:27 -04:00
DogooFalchion
6242a54603
Update references to MOTD to point to the variable, instead of having magic strings.
2016-10-22 17:37:00 -04: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
Simon
60a8362e27
Add ToLower() back
2016-10-16 12:42:05 +03:00
Simon
b16b9e70f2
Add brackets
2016-10-16 09:48:46 +03:00
Simon
54915bcf47
Fix /"
2016-10-16 08:58:55 +03:00
Enerdy
a49a7f35cc
Fully remove 'auth-verify' because it was unclassy
2016-10-15 00:34:32 +01:00
Enerdy
97b6f08523
'auth' no longer kicks superadmins when disabled
2016-10-15 00:31:57 +01:00
Enerdy
b6267bbaa7
Auth system now checks if a superadmin exists
...
The 'auth-verify' command was also removed and its alias was added to 'auth', which now does both things.
2016-10-14 23:07:29 +01:00
Lucas Nicodemus
c4cf2d496d
Changed the taken account message to be more clear
...
Thanks to Gameroom, Kirbyrocket, ProfessorX, etc. for drawing attention to this.
2016-10-09 21:04:53 -06:00
White
36343dd8e7
Add a sandstorm command
2016-09-22 19:13:50 +09:30
ProfessorXZ
7376ad8b0e
Fixed UI issues caused by setting wind speed to high values
2016-09-10 23:35:57 +02:00
ProfessorXZ
05a4e025f7
Added the Registered property to REST's players/read endpoints
2016-08-30 09:16:01 +02:00
White
2045ff511c
Fixed SetDungeon permission. Closes #1263
2016-07-29 15:59:54 +09:30
White
7a8bbb1b99
Updated naming on CheckXMas
2016-07-23 10:11:26 +09:30
White
4652b90a01
Fixes tabbing on the Settle command registration, and the Reload command
2016-07-02 17:11:41 +09:30
White
ed78313994
Fixes tabbing on the SetDungeon command
2016-07-02 17:08:41 +09:30
webmilio
bbca61cea1
Added the SetDungeon command.
2016-07-01 18:30:22 -04:00