1
0
cuberite-2a/Server/Plugins/APIDump
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
..
Classes Implement Dropspenser Hook (#4903) 2020-09-21 15:31:45 +00:00
Hooks Implement Dropspenser Hook (#4903) 2020-09-21 15:31:45 +00:00
Static Renamed output directory to Server 2015-09-05 22:01:21 +02:00
APIDesc.lua Fixed snow golems and added documentation to damage type and added damage type for damage from environment to mobs (#4877) 2020-09-17 18:06:41 +00:00
InfoFile.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
lang-lua.js Renamed output directory to Server 2015-09-05 22:01:21 +02:00
LICENSE-prettify.txt Renamed output directory to Server 2015-09-05 22:01:21 +02:00
main_APIDump.lua Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
main.css Renamed output directory to Server 2015-09-05 22:01:21 +02:00
prettify.css Renamed output directory to Server 2015-09-05 22:01:21 +02:00
prettify.js Renamed output directory to Server 2015-09-05 22:01:21 +02:00
SettingUpDecoda.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
SettingUpZeroBrane.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
UsingChunkStays.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
WebWorldThreads.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00
Writing-a-Cuberite-plugin.html Remove analytics code (#4394) 2019-09-16 15:38:56 +00:00