CookieMonster
CookieMonster - Money and Items for PvM and PvP
Version: 1.8.1
NOTICE:
I have re-written this from the ground up and moved this project to become "CookieMinion"
https://dev.bukkit.org/projects/cookieminion
Tons of improvements and optimizations in less than half the code size of CookieMonster!
1.13 support is continued under the CookieMinion project
Improvements over the old CookieMonster:
- Uses Vault for cash economy, greatly expanding compatibility
- Entity data saved in metadata, freeing up threads required for cleanup
- WorldGuard enabled/disabled regions are now a flag injected into WorldGuard itself ('cookiemonster')
- Item drops can include metadata - even book contents!
- Permission-based reward multipliers
- Execute console commands when things are killed!
- Can drop items that are converted to currency when collected from the ground.
- Simpler configuration that can still be granular
Changes:
- Player-made spawner tracking removed, now only tracks spawners
- Players can kill expensive things, balance won't go negative
This project page is being reserved for if/when I finally get around to finishing CookieMonster 2.0, which will be minutely configurable, but at the cost of a considerably larger code base.
CookieMonster:
Receive Economy rewards for hunting down monsters, animals, even other players!
This is a continuation of Coelho's initial CookieMonster Plugin
CookieMonster is based off of the inactive iMonster, however uses none of the code from it, so it is more lightweight.
Features:
- configurable item drops and economy reward for each monster
- configurable economy reward for items used to kill monsters
- also supports PvP
- Supports iConomy 4,5,6, BOSEcon 6,7, MultiCurrency, & EssentialsEco
- Ability to change entity drops with drop-rate.
- Ability to add minimum and maximum money drops for randomness
- A kill tracking system to check for spawn camping
- define a square-radius for area to check, including max. elevation change, # of kills in this area, & timespan before an individual kill is no longer counted
- anything over that number within the area will disable rewards until the records are old enough to be removed
- so far, only lasts in server memory, so records are lost on server stop/reload
- doesn't allow to damage a creature/mobspawner if penalty is greater than account balance
- option to only drop items for a direct kill (stops autofarmers)
- option to replace normal drops with custom drops
- option to drop custom drops items globally
- configurable messages (including if there is no reward)
- can distingush charged from normal creepers, and tame/pet wolves from wild wolves
- can disable/enable rewards for defined regions
- uses WorldEdit for selections
Commands:
- /cookiemonster (cm) reload reloads settings from configuration file
- /cm region define <id> set a region (once a region is selected in worldedit)
- /cm region list [page] list regions (in current world if as a player)
- /cm region remove <id> to remove regions
To-Do:
- ? permissions (for rewards & maybe permission to kill without penalty?)
- ? penalties/rewards for killing players in groups?
Demonstration Video: http://www.youtube.com/watch?v=1y24vv2tOqg
jascotty2, add XP drop, PLS!
will this work with 1.1 or will it need an update?
@gabizou
God I wonder how many like me only came to this plugin because for a month or two ecocreature was broken? It's driving me nuts how flip floppy some of these plugins are...
When will version 1.0 ?
@Zidkon There is ecoCreature that does the same thing and handles things very well. It's updated rather frequently and the dev is very good. No offense, but I've used this plugin and stopped using it since November.
Very innactive or totally lazy developer :(, I liked this plugin.
Anyway there is other plugin there that is being supported more frequently about this one, I won't make publicity here so send me pm who is interested or just search by recent posts and stuff xD
Thanks jascotty2 but seems you don't have enough time to support this :P, I will be checking later to see what you do and release to see if I use again this plugin again,
@d4rkwarriors
Well, possibly not.
It's only been a month sense the last update so either its inactive or just lazy.
plugin went inactive?
@alex9322
I would like too, but seems plugin developer is not answering :/ this will become inactive plugin >.<, and is so great :/
i wish it was updated for minecraft 1.9, so you could change drops of blaze and villagers....
Hello there, I found a BUG in the current plugin.
Even if you have replaceDrops set to TRUE, if a mob dies by fire he drops as usual drops like ignoring cookiemonster plugin :/
Please fix it when you can, very great plugin ^^
hey :) im trying to get CM to drop random coloured wool from sheep but nothing i try seems to work... is there an easy way to do this?? was hoping for something like - 35:*@4%80 but this does not work. Any suggestions?
@DarkPingoo lol this is why we need data values on items :)
I also want squid to drop random dye as well ... i assume the code will work for both
Why drop an intem with a data, for exemple Dark Wool : 35:15 ?
@mafima
Dude, check your .yml files and look for markup errors...
in "<reader>", line 95, column 1: coins: 1-8 ^ thats the error!
ps: I LOVE this plugin!!!!
A question where can i post erorr code when i don't know whats wrong ? When i can post it here. Here is the code: 161 recipes 17 achievements 20:49:15 [INFO] Starting minecraft server version Beta 1.8.1 20:49:15 [INFO] Loading properties 20:49:15 [INFO] Starting Minecraft server on *:25565 20:49:15 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067 -g6301507-b1185jnks (MC: 1.8.1) 20:49:15 [SCHWERWIEGEND] Could not load 'plugins\CookieMonster.jar' in folder 'p lugins': while scanning for the next token found character '\t' that cannot start any token in "<reader>", line 95, column 1: coins: 1-8 ^
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja va:360) at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18 3) at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par serImpl.java:564) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java :228) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java :230) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12 2) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons tructor.java:124) at org.yaml.snakeyaml.Yaml.load(Yaml.java:264) at org.bukkit.util.config.Configuration.load(Configuration.java:82) at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:175) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:213) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:136) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur ationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) 20:49:15 [INFO] Preparing level "world" 20:49:15 [INFO] Default game type: 0 20:49:16 [INFO] Preparing start region for level 0 (Seed: 5516194306927916356) 20:49:16 [INFO] Preparing start region for level 1 (Seed: 5516194306927916356) 20:49:17 [INFO] Preparing spawn area: 81% 20:49:17 [INFO] CommandBook 1.6-customized enabled. 20:49:17 [SCHWERWIEGEND] CommandBook: Unable to read default configuration: conf ig.yml 20:49:17 [SCHWERWIEGEND] CommandBook: Unable to read default configuration: kits .txt 20:49:17 [WARNUNG] CommandBook: 0 Warps(s) loaded 20:49:17 [WARNUNG] CommandBook: 0 Homes(s) loaded 20:49:17 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some feat ures have been disabled to be compatible with poorly written server wrappers. 20:49:17 [INFO] CommandBook: 3 banned name(s) loaded. 20:49:17 [INFO] CommandBook: Using the Bukkit Permissions API. 20:49:17 [INFO] GroupManager - INFO - Superperms support enabled. 20:49:17 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes! 20:49:17 [INFO] GroupManager version 1.2 (Phoenix) is enabled! 20:49:17 [INFO] [iConomy - Celty] Enabled (11 ms) 20:49:17 [SEVERE] Exception in thread "Thread-7" 20:49:17 [SEVERE] java.lang.ClassCastException: java.util.LinkedHashMap cannot b e cast to java.lang.Long 20:49:17 [SEVERE] at com.iCo6.Constants$Nodes.getLong(Constants.java:111) 20:49:17 [SEVERE] at com.iCo6.iConomy$1.run(iConomy.java:233) 20:49:17 [SEVERE] at com.iCo6.util.Thrun.run(Thrun.java:12) 20:49:17 [INFO] WorldEdit 4.7 enabled. 20:49:17 [SEVERE] WorldEdit: Unable to read default configuration: config.yml 20:49:17 [INFO] WorldEdit: Using the Bukkit Permissions API. 20:49:17 [INFO] WorldGuard: Using the Bukkit Permissions API. 20:49:17 [SEVERE] WorldGuard: Unable to read default configuration: blacklist.tx t 20:49:17 [WARNING] WorldGuard blacklist does not exist. 20:49:17 [INFO] WorldGuard: (world) Single session is enforced. 20:49:17 [INFO] WorldGuard: (world) TNT ignition is PERMITTED. 20:49:17 [INFO] WorldGuard: (world) Lighters are PERMITTED. 20:49:17 [INFO] WorldGuard: (world) Lava fire is blocked. 20:49:17 [INFO] WorldGuard: (world) All fire spread is disabled. 20:49:17 [INFO] WorldGuard: Loaded configuration for world 'world" 20:49:17 [SEVERE] WorldGuard: Unable to read default configuration: blacklist.tx t 20:49:17 [WARNING] WorldGuard blacklist does not exist. 20:49:17 [INFO] WorldGuard: (world_nether) Single session is enforced. 20:49:17 [INFO] WorldGuard: (world_nether) TNT ignition is PERMITTED. 20:49:17 [INFO] WorldGuard: (world_nether) Lighters are PERMITTED. 20:49:17 [INFO] WorldGuard: (world_nether) Lava fire is blocked. 20:49:17 [INFO] WorldGuard: (world_nether) All fire spread is disabled. 20:49:17 [INFO] WorldGuard: Loaded configuration for world 'world_nether" 20:49:17 [WARNING] WorldGuard: Region file for world "world" missing or inaccess ible. 20:49:17 [WARNING] WorldGuard: Region file for world "world_nether" missing or i naccessible. 20:49:17 [INFO] WorldGuard 5.3 enabled. 20:49:17 [INFO] Server permissions file permissions.yml is empty, ignoring it 20:49:17 [INFO] Done (0.145s)! For help, type "help" or "?" 20:49:17 [INFO] GroupManager - INFO - Bukkit Permissions Updated!