Middas
13fb4b3156
Adding the SaveWorld event caused an infinite loop of saves, removed it to fix the infinite loop.
2012-01-07 03:25:30 -07:00
Deathmax
78fce47cf8
Fix player position being updated wrongly when teleporting
2012-01-07 14:11:33 +08:00
Deathmax
64d6d2fff1
Merge remote-tracking branch 'origin/general-devel' into general-devel
2012-01-07 13:22:36 +08:00
Deathmax
38deb1293f
Re-add the saveworld and NPC.SetDefaults hook events
...
TSHOCKPLUGINS-10
2012-01-07 13:22:08 +08:00
Lucas Nicodemus
340c0515ea
Merge branch 'general-devel' of github.com:TShock/TShock into general-devel
2012-01-06 17:27:23 -07:00
Lucas Nicodemus
04b68eeb94
Merge remote-tracking branch 'remotes/origin/lua' into general-devel
...
Conflicts:
TShockAPI/Properties/AssemblyInfo.cs
2012-01-06 17:26:58 -07:00
Deathmax
714746ab6c
TSHOCKPLUGINS-9 #close fixed Fixed.
...
Workaround for REST meteor null reference exception crash. Requires an initializer for genRand if using any WorldGen methods in the future.
2012-01-06 21:58:51 +08:00
Deathmax
946bf2ad49
Fix chairs not having the correct direction
...
This also fixes purification powder not working, and other stuff that relies on sendtilesquare
2012-01-06 21:52:15 +08:00
Lucas Nicodemus
7c66e97bf1
Version Tick: 3.4.5.0106
2012-01-06 01:07:46 -07:00
darkunderdog
ddf7531d66
Merge branch 'general-devel' of ssh://github.com/TShock/TShock into general-devel
2012-01-04 20:11:34 -06:00
darkunderdog
6079d84c9e
Updated Regions.InAreaRegion.Name to allow overlapping regions - For plugins that use this it will require updating the code
2012-01-04 20:11:22 -06:00
Steven French
a1d4328ec4
Added Some Functions. _lua looks good!
2012-01-05 01:49:49 +13:00
Lucas Nicodemus
332fce2eb7
Remove test code.
2012-01-04 04:18:41 -07:00
Lucas Nicodemus
1425a80ed6
Lower case is still full of fail.
2012-01-04 04:18:21 -07:00
Lucas Nicodemus
b6a8b8221d
Rule #1 of hooking:
...
- Do not confuse Lua, it will die.
2012-01-04 03:31:44 -07:00
Lucas Nicodemus
cd482d2ae1
Forgot to remove references to dead code.
2012-01-04 03:28:19 -07:00
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