1
0
cuberite-2a/Server/Plugins
KrystilizeNevaDies 23bca00831
Implement Dropspenser Hook (#4903)
* Implement Dropspenser Hook

Implemented a hook for dropspensing.
HOOK_DROPSPENSE

When plugin callback returns true then dropspense is cancelled

* Update src/Bindings/PluginManager.h

Co-authored-by: peterbell10 <peterbell10@live.co.uk>

* Create OnDropSpense.lua

* Fix indent

* Forgot include

Forgot to include the plugin manager. Although now im confused why it was working on my end without including the plugin manager

* Update plugins.lua with dropspense

* fix typos

* haha notepad++ go brr

Co-authored-by: peterbell10 <peterbell10@live.co.uk>
2020-09-21 15:31:45 +00:00
..
APIDump Implement Dropspenser Hook (#4903) 2020-09-21 15:31:45 +00:00
ChatLog@cc04da381b Updated plugins with the rename to Cuberite. 2016-01-01 21:40:18 +01:00
Core@5dbe68f36d Update Core 2020-08-05 20:56:10 +03:00
Debuggers Use Vector3 for cLineBlockTracer and cBlockTracer (#4715) 2020-05-08 10:04:07 +01:00
DumpInfo Updated DumpInfo plugin 2015-11-29 17:28:02 +01:00
HookNotify Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
NetworkTest Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
ProtectionAreas@5cc1171bb1 Update ProtectionAreas 2020-02-27 19:45:38 +02:00
TestLuaRocks Update TestLuaRocks.lua (#3903) 2017-08-13 12:29:24 +01:00
.gitignore Update .gitignore; new files added to APIDump are no longer ignored 2020-03-23 12:37:11 +00:00
InfoDump.lua Minor changes (#3909) 2017-08-24 11:19:40 +02:00
InfoReg.lua Corrected check for level of subcommand and fixed multiple levels not working (#3758) 2017-06-12 12:59:46 +02:00