Soooooooooooo, i want to ask, if there's a plugin that you can't drop any items. I can make it my own, but i cant use devtools to make it from .zip to .phar. It says Invalid plugin name, check the name case. So, any tutorial on how to use DevTools or any plugin? Thanks!
Put raw plugin folder (folder with src and plugin.yml) on to /plugins/ file. And then start the server. If you have devtools enabled, your plugin will be loaded too.
i said in the paste, you should see pluginName first, copy folder name of plugin in Plugins_data and use: /makeplugin namepluginhere and you can paste it in nameplugin here with [CTRL + V] key, press enter and you can see phar file in Plugins_Data in DevTools folder.
PHP: /** PlayerDropItemEvent $event */$event->setCancelled(); This should Disable Dropping items. If you want to make it so you can't drop a specific item just do something like. PHP: /** PlayerDropItemEvent $event */$item = $event->getItem();if($item == Item::get(Item::DIAMOND_SWORD){$event->setCancelled();}