Cobblemon Economy Plus 1.1.0 (Fabric)
Curse Maven Snippet
What's new
Added
- Remove shopkeeper NPCs with
/cep shopkeeper remove <npcs>or by Shift + left-clicking one twice with the Shop Editor. Both use the new permission nodecobblemon_economy_plus.shopkeeper.remove(OP 2 by default, grantable with LuckPerms). Only entities that are shopkeepers are removed. /cep shop validatechecksshops.jsonanditem_values.jsonwithout applying them: JSON errors with their line and column, skipped shops and entries, and buy/sell money loops.- API:
CobblemonEconomyApi.onBalanceChanged(notified after every balance change) andonReward(cancel a battle / capture / Pokédex reward or change its amount before it is paid), plusAPI_VERSION(now 2). - Cobblemon rewards, configured in the new
config/cobblemon_economy_plus/rewards.json: coins for winning wild battles, defeating Cobblemon NPC trainers, captures (alphas pay more in battles and captures) and Pokédex milestones (10 to 1000 species caught, each paid once; milestones passed earlier are paid at the next login). Each reward can be switched off, amounts arebase + level × per_level, and an optionaldaily_caplimits battle and capture rewards per day. PvP battles pay nothing, and NPCs taggedcep_no_rewardpay no trainer reward. Reward bookkeeping is saved indata/cobblemon_economy_plus_rewards.dat. /cep top [page]: balance ranking (10 players per page, ties share a rank, offline players shown by name) with the viewer's own rank. Permission nodecobblemon_economy_plus.top(everyone by default).- Purchase limits in
shops.json: per entry,limit(bundles per player perdaily/weekly/neverperiod) andstock(shared stock that refillsrestock_minutesafter the first sale). The shop screen shows what is left and when a sold-out stock returns; every purchase is checked on the server. Counts are saved indata/cobblemon_economy_plus_purchases.dat. config/cobblemon_economy_plus/config.jsonwithpurchase_limits_enabledto switch all limits off./cep shop restock(refill every stock) and/cep shop limits reset <player>(clear a player's purchase counts).- In-game admin screen (
/cep admin [shop], or the Shop Editor's new Admin mode): create, edit and delete shops (id, theme, buy-back multiplier, English / Japanese name and subtitle), their items (price, quantity, purchase limit, stock; add the held item, reorder) and sell values. Changes are validated on the server like the files, written with a.bakbackup, reloaded at once and logged tologs/cobblemon_economy_plus/admin.log; saves made on outdated data are refused. New permission nodecobblemon_economy_plus.admin(OP 2).
Changed
/cep shop reloadreports problems in chat (up to 5, the rest in the server log) and how many item values were loaded./cep shop reloadand/cep shop validatealso coverrewards.jsonandconfig.json.- The problems they report (and the admin screen's save errors) are shown in the player's language (English or Japanese). The server log stays in English.
- A per-language
subtitlewithout the viewer's language now shows the theme's default tagline in that language instead of the English (or first) subtitle. Plain-string subtitles and names are unchanged. - Network protocol version is now
1.1(shop entries carry purchase limits). Update the mod on the server and all clients together.
Fixed
- A syntax error in
shops.json(such as a missing comma or a cut-off file) no longer fails with an unexplained error. The file is reported with the error's location, and the shops that were already loaded stay in place instead of being replaced by the built-in defaults. The same applies toitem_values.json. - A shop without an
id, or whoseentriesis not a list, is skipped on its own instead of discarding the whole file. - Shopkeepers can no longer be hit or damaged, including NPCs assigned with
/cep shopkeeperor the Shop Editor and attacks from creative-mode players. Only/killand the void can still remove them.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include