Commit graph

1461 commits

Author SHA1 Message Date
Lucas Nicodemus
1d1c15f808 Added a basic implementation of a hooking system.
Related to TSHOCKPLUGINS-6
2012-01-04 02:43:46 -07:00
high
4edea352a0 works? 2012-01-03 22:46:26 -05:00
Lucas Nicodemus
0e29b7a305 Staging 2 2012-01-03 19:21:59 -07:00
Lucas Nicodemus
47cbe4fd33 Committing what I have for Lua hooking. Any ideas? 2012-01-03 18:51:22 -07:00
Lucas Nicodemus
d28fef8e1e Implemented permissions for lua and some commands to work with it.
TSHOCKPLUGINS-4 is completed.
2012-01-03 18:07:55 -07:00
Lucas Nicodemus
15d9a2aa8c More basic prep.
TSHOCKPLUGINS-4
2012-01-03 17:44:54 -07:00
Lucas Nicodemus
c45291eb6b Basic Lua loading prep.
TSHOCKPLUGINS-4
2012-01-03 16:54:38 -07:00
Lucas Nicodemus
264e633202 TSHOCKPLUGINS-2 #resolve #comment Added. 2012-01-03 15:29:36 -07:00
Lucas Nicodemus
5d61a56fcd Add new REST endpoint:
- /v2/token/password?username={user}

TSHOCKPLUGINS-1 #resolve #time 5m #comment Deprecating old token create syntax, new endpoint added as a replacement.
2012-01-03 15:18:05 -07:00
Deathmax
e1d11ca96a Provide feedback when using hardmode commands 2012-01-03 15:31:38 +08:00
Lucas Nicodemus
d8e92e5ed0 Fixed 'shank forgot how to assign variables to an array' error on several rest calls. 2012-01-02 22:52:23 -07:00
Lucas Nicodemus
e8acdb0b96 Fixing some silly mistakes. 2012-01-02 22:39:04 -07:00
Lucas Nicodemus
be29a2cfcf Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2012-01-02 22:15:08 -07:00
Lucas Nicodemus
b8e4dffd74 Add new REST endpoint:
- /v2/server/rawcmd

Takes parameters:
 - cmd

Commands have to start with /, some commands aren't written properly, and may not return any more output than a status code.
2012-01-02 22:14:30 -07:00
Zack Piispanen
f82f05064a Added stack count to /v2/player/read 2012-01-02 16:42:55 -05:00
Lucas Nicodemus
f04b9d7a6d Remove test commit 2012-01-02 02:12:45 -07:00
Lucas Nicodemus
a7cc75082e Test commit 2012-01-02 02:11:49 -07:00
Lucas Nicodemus
4f07567eeb Add REST endpoints:
- /v2/players/mute
 - /v2/players/unmute
2012-01-02 02:07:19 -07:00
Lucas Nicodemus
e813ac8f87 Fix /v2/players/ban using verb instead of param (thanks @radishes) 2012-01-02 01:49:01 -07:00
Lucas Nicodemus
42f8978e8f Remove old UpdateNow method 2012-01-02 00:58:58 -07:00
Lucas Nicodemus
b9df823f41 Add the /v2/server/off endpoint 2012-01-02 00:57:03 -07:00
Lucas Nicodemus
0498d30b4e Add /v2/server/broadcast REST endpoint 2012-01-02 00:47:00 -07:00
Lucas Nicodemus
932dc9109c Added new REST endpoint:
- /v2/world/butcher
2012-01-02 00:33:27 -07:00
Lucas Nicodemus
f71d2c1a64 Add REST endpoint:
- /v2/players/kill
2012-01-02 00:13:26 -07:00
Lucas Nicodemus
d14c7c40c9 Fix players "leaving" when they never joined. 2012-01-01 23:18:18 -07:00
Lucas Nicodemus
4b77ca549e Users shouldn't "leave" when they enter an incorrect password anymore. Just as soon as someone reimplements the OnLeave hook. 2012-01-01 18:46:06 -07:00
Lucas Nicodemus
62bc28332a Deprecating the following REST endpoints:
- /bans/read/{user}/info
 - /bans/destroy/{user}
 - /users/read/{user}/info
 - /users/destroy/{user}
 - /users/update/{user}

Adding replacement endpoints:
 - /v2/users/read
 - /v2/users/destroy
 - /v2/users/update
 - /v2/bans/read
 - /v2/bans/destroy
2012-01-01 16:44:45 -07:00
Lucas Nicodemus
3261fa40ef Deprecating the following REST API endpoints:
- /players/read/{player}
 - /players/{player}/kick
 - /players/{player}/ban

Adding the following REST API endpoints:
 - /v2/players/kick
 - /v2/players/ban
 - /v2/players/read
2012-01-01 16:25:24 -07:00
Lucas Nicodemus
640da9eefe Several REST endpoints that were incorrectly waiting on player parameters and 500ing without them now work as intended with the verb. 2012-01-01 16:14:59 -07:00
Lucas Nicodemus
2437225f10 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2012-01-01 15:56:09 -07:00
Lucas Nicodemus
bfc9ad98fb Fixed the REST kick endpoint expecting a player parameter as opposed to a verb 2012-01-01 15:55:48 -07:00
high
37a913d7a3 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2012-01-01 15:37:59 -05:00
high
5bc011679f Event typo 2012-01-01 15:37:33 -05:00
Lucas Nicodemus
ff84198e32 Minor changes 2012-01-01 13:21:23 -07:00
Lucas Nicodemus
b52e6a83c8 Re-add MaxMind's license 2012-01-01 03:10:43 -07:00
Lucas Nicodemus
bf9d0137f1 Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
Lucas Nicodemus
1790606a70 Tabify 2012-01-01 02:57:55 -07:00
Lucas Nicodemus
902015b285 Remove flat file converter from ban system constructor 2012-01-01 02:56:57 -07:00
Lucas Nicodemus
2ac5ea929b Remove yet another flat file converter from yet another constructor 2012-01-01 02:55:54 -07:00
Lucas Nicodemus
4709093553 Remove flat file shit from item bans 2012-01-01 02:54:38 -07:00
Lucas Nicodemus
71b5d63263 Remove flat file conversion code from user manager 2012-01-01 02:53:37 -07:00
Lucas Nicodemus
4e20b87992 Remove flat file conversion code from warp system 2012-01-01 02:51:46 -07:00
Lucas Nicodemus
2bfdaaaabc Remove flat file conversion code 2012-01-01 02:48:15 -07:00
Lucas Nicodemus
f47ce942f4 Remove old flat file conversion Commands.cs 2012-01-01 02:43:09 -07:00
Lucas Nicodemus
58f08193ae Mark some functions as obsolete 2012-01-01 02:38:10 -07:00
Lucas Nicodemus
eea309281a Added a disabled RestRequestEvent hook 2012-01-01 02:30:49 -07:00
Lucas Nicodemus
23dba29545 Add PlayerBuff hook
This is the last hook I'm adding for the time being. If you feel that there aren't enough hooks, well request it.
2012-01-01 02:23:00 -07:00
Lucas Nicodemus
54882b6deb Add PlayerAnimation hook 2012-01-01 02:16:15 -07:00
Lucas Nicodemus
c9b33e527a Add NPCSpecial hook 2012-01-01 02:13:03 -07:00
Lucas Nicodemus
13b8326a6e Add NPCStrike hook 2012-01-01 02:08:56 -07:00