1
0
cuberite-2a/Server
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
..
Install More CMake cleanup 2020-07-12 22:00:07 +01:00
Plugins Implement Dropspenser Hook (#4903) 2020-09-21 15:31:45 +00:00
Prefabs Adding Generator For Single Piece Structures (#4830) 2020-09-17 22:20:50 +00:00
Protocol Introduce recipe book functionality (#4493) 2020-07-14 17:56:42 +01:00
webadmin WebAdmin logo improvements (#4604) 2020-04-03 15:41:29 +00:00
.gitignore Removed binary ToLua++ from build. 2017-05-04 17:38:05 +02:00
brewing.txt Potion changes (#4601) 2020-04-04 14:16:36 +00:00
crafting.txt Added recipe for the observer. (#4880) 2020-09-17 21:47:38 +00:00
delete_windows_service.cmd Renamed output directory to Server 2015-09-05 22:01:21 +02:00
favicon.png New icon colors (#3675) 2017-06-03 18:49:02 +02:00
furnace.txt Corrected furnace recipes for log 2020-04-25 12:27:27 +01:00
hg Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
hg.supp Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
install_windows_service.cmd Use string redirection in Windows service 2020-07-23 21:17:58 +01:00
items.ini Correct spider eye item ID (#4110) 2017-12-25 09:04:38 +00:00
monsters.ini Add Zombie Villagers 2020-04-10 00:50:45 +01:00
README.txt Change outdated support link 2019-12-30 03:53:29 +02:00
vg Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
vg.supp Renamed output directory to Server 2015-09-05 22:01:21 +02:00

--------------------------------------------------------------------------------
   Welcome to your new Cuberite server, compatible with Minecraft 1.8 - 1.12!
--------------------------------------------------------------------------------

 - To get started with your server, read the user's manual at
   https://book.cuberite.org/

 - Subscribe to the Newsletter for update news and important information at
   https://cuberite.org/news/#subscribe

 - For information about adding plugins to your server, visit
   https://cuberite.org/plugins/

 - For additional support, visit https://cuberite.org/discuss/

--------------------------------------------------------------------------------