TMDevelopmentTinulica & Maiky

FlareMobCoinsv4.2.0

Mob drops, rotating shops, multipliers and a full in-game editor.

4.131 descarcari3.6 (19)actualizat acum 14 zile
4.2.0

New

  • Kill milestones (milestones.yml, off by default: enabled: true or /mobcoins settings): rewards when a player reaches a number of kills, of every mob or only of some mobs (mobs: [ZOMBIE, HUSK], MythicMobs with mythic:Name). The rewards are the same actions as the shops ([mobcoins_give], [console], [title], [sound] ...) and every milestone is given once; the reached ones are saved with the stats, so with MySQL on every server. Players who already have the kills get it at their next kill.
  • /mobcoins milestones: a menu with every milestone, the kills, a progress bar and what is reached (menus/milestones.yml, editable with /mobcoins editor milestones). /mobcoins milestones <player> opens it for another player, /mobcoins milestones reset <player> gives them again (at the next kill, every milestone he has the kills for). Permissions flaremobcoins.command.milestones (everyone), .milestones.other and .milestones.reset (op), player-access.milestones in config.yml.
  • Messages in more places: every line of lang/en.yml can start with [actionbar], [title] title;subtitle, [bossbar] text;seconds;COLOR, [sound] NAME or [chat]. A list sends the message in more places at the same time. Lines without a tag go to the chat like before (the drop, combo and anti-farm messages to the action bar), so the files you have keep working. The console only gets the text.
  • Placeholders: %flaremobcoins_milestones_reached%, _milestones_total, _milestone_next, _milestone_next_kills, _milestone_next_required, _milestone_next_progress.
  • /mobcoins settings: death loss, kill milestones, payment tax and /mobcoins paytoggle are in the menu too.

Fixed

  • MySQL: a booster given (or removed) on another server of the network to a player who is online here showed only after he joined again. Now it shows within storage.refresh-seconds, with the "you got a booster" message.
  • /mobcoins migrate didn't copy the shop limits and stock already used (purchases): now they go to the new storage too.

Updating: just replace the jar. milestones.yml and menus/milestones.yml are created, the new texts are added to your files, and milestones stay off until you turn them on.

4.1.3

New

  • Tax on payments: pay.tax-percent in config.yml (0 = off, decimals work: 2.5). The sender pays the full amount, the receiver gets it minus the tax, and the sender sees how much was taken. Players with flaremobcoins.bypass.tax pay no tax (nobody has it by default, not even OPs).
  • /mobcoins paytoggle (also togglepay): players can refuse incoming payments. Off by default, the server turns it on with pay.allow-toggle: true. Saved with the stats, so with MySQL it is the same on every server. Permission flaremobcoins.command.paytoggle (everyone).
  • Looting bonus: looting-bonus in drops.yml = more mobcoins for each level of Looting on the weapon (10 = +10% per level, Looting III = +30%). 0 = off (default).
  • World multipliers: world-multipliers in drops.yml multiplies the drops in some worlds (e.g. world_nether: 1.5). Worlds not in the list = 1.
  • Placeholders: %flaremobcoins_drop_messages% and %flaremobcoins_pay_accept% (true / false), %flaremobcoins_world_multiplier%, and %flaremobcoins_rank% (same as _position, also _rank_weekly / _rank_monthly).

The new options are added to your config.yml, drops.yml and lang/en.yml on the first start, all of them are off by default.

4.1.2

New

  • Death loss (config.yml > death-loss, off by default): players lose mobcoins when they die. amount can be a percent of the balance ("5%"), a fixed amount ("50") or random ("10-50"), with a max per death. Options: only-pvp (only when another player kills him), give-to-killer (the killer gets the mobcoins lost) and disabled-worlds. Permission flaremobcoins.bypass.deathloss (nobody has it by default, not even OPs). Messages in lang/en.yml > death-loss.
  • /mobcoins toggle: every player can hide / show the messages and sounds of the mob drops (action bar, combo, coins picked up, the actions of drops.yml). The mobcoins are still given; the choice is kept after restarts. Permission flaremobcoins.command.toggle (everyone).

Updating: the new options are added to config.yml and lang/en.yml by themselves, nothing to change.

4.1.1

Fixed

  • MySQL 8 with a normal user didn't start ("Public Key Retrieval is not allowed"): allowPublicKeyRetrieval=true is now in the default storage.mysql.flags. Servers that already have config.yml keep their flags: if this error shows up, the console says what to add.
4.1.0

New (golden mobs are on for new servers, everything else is off until you turn it on)

  • Timed boosters: /mobcoins booster give <player> <multiplier> <time> (e.g. 2 1h) multiplies the mob drops of a player for some time. /mobcoins booster item <player> <multiplier> <time> [amount] gives booster items to use later with a right click (good for your store). Same multiplier = the time is added; a booster item can't be used while a stronger one is active. Boss bar with the time left (1.9+), /mobcoins booster shows your boosters, remove and check for admins. Boosters survive restarts and, with MySQL, work on every server of the network.
  • Events: /mobcoins event start <multiplier> <time> = more mobcoins for everybody, with a message, a boss bar and a countdown; /mobcoins event stop ends it. With MySQL the event is on every server of the network.
  • Golden mobs (drops.yml > golden-mobs): 1% of the hostile mobs spawn golden, with a name above them and a shining outline (1.9+), and give x5 mobcoins. Chance, multiplier, mobs, name and actions can be changed. Spawner mobs and mobs of other plugins are never golden (unless from-spawners: true). On for new servers; servers that update get it off (your economy doesn't change by itself): turn it on in /mobcoins settings.
  • Combo (drops.yml > combo, off): kills in a row raise the multiplier (5 kills x1.1 ... 50 kills x2) for a few seconds, shown in the action bar. Mob farms can't abuse it: mobs from spawners, eggs and breeding, and kills over the limit in the same chunk don't count and get no combo multiplier.
  • Anti-farm (drops.yml > anti-farm, off): most mobcoins per hour from mobs, and fewer mobcoins after many kills in the same chunk.
  • MythicMobs 4.x and 5.x: mythic: SkeletonKing in a drops.yml entry (also entity: "mythic:Name" or a list), entity: MYTHIC for every MythicMobs mob without its own entry, mythicmobs.normal-entries (mobs without an entry use ZOMBIE, HOSTILE ...) and mythicmobs.level-bonus (extra percent per level). Found by itself, no library needed; one quick lookup per kill. {mythic} = name of the MythicMobs mob in drop actions.
  • Stats: /mobcoins stats [player] shows mobs killed, golden mobs, mobcoins from mobs (total, week, month and position), best combo, active booster and the most killed mobs. Placeholders kills, kills_<mob>, earned, golden_kills, best_combo ...
  • Weekly and monthly top: /mobcoins top weekly|monthly [chat] and three new buttons in the top menu (all time / this week / this month, the shown one shines) plus a "Your stats" button. When a week or a month ends the best players get the rewards of config.yml > tops (off by default): [mobcoins], [console], [message], [broadcast], positions like 1, 2, 4-10. With MySQL they are given only once for the whole network; a server that was off gives them when it starts.
  • Notes (config.yml > withdraw, off): /mobcoins withdraw <amount> turns mobcoins into an item to trade, right click to get them back. Every note has its own id saved in the storage and can be redeemed once: copied or duped notes give nothing (also across a MySQL network). Not in creative mode (flaremobcoins.redeem.creative).
  • Sell loot (config.yml > sell, off): /mobcoins sell opens a menu (put the items in, close = sold), /mobcoins sell hand, /mobcoins sell all, /mobcoins sell prices. Only normal items are sold (no renamed items).
  • New switches in /mobcoins settings (golden mobs, combo, anti-farm, notes, sell, weekly and monthly rewards) and /mobcoins stats in Player access.
  • New placeholders: top_weekly_<n>_name / _mobcoins, top_monthly_<n>_..., position_weekly, position_monthly, earned_weekly, earned_monthly, combo, combo_multiplier, booster, booster_time, event_multiplier, event_time, event_active, hour_left.
  • New permissions: flaremobcoins.command.stats (.others), .sell, .withdraw (everyone), .booster, .event (op), flaremobcoins.booster.use, flaremobcoins.redeem (everyone), flaremobcoins.redeem.creative (op).
  • /mobcoins migrate also copies stats, boosters and the event.

Improved

  • New options of drops.yml are added to the file of the server by themselves, with their comments; your mobs and multipliers are never touched. New elements of the plugin menus are copied with their quotes and comments.
  • Paper: a mob death cancelled by another plugin gives no mobcoins.
  • Blocks the editor writes again, new shops of the chest builder and the new lines of an update are written like the files of the plugin: texts in "double quotes", lists as - item.
  • The console says when a menu file of the plugin got new buttons or texts.
  • /mobcoins booster remove also tells the player; the "Your stats" button of the top is hidden when stats are off fo
4.0.1

Fixed

  • Permission multipliers were given to every OP. flaremobcoins.multiplier.vip / mvp (and every multiplier of drops.yml) are not plugin.yml permissions, and Bukkit gives undeclared permissions to OPs: OPs got the highest multiplier on every drop. Now a multiplier counts only when the permission is really given (permissions plugin, * included).
  • Saving from /mobcoins editor (and the chest builder) wrote the whole shop file again: quotes, lists and long lines changed, and on 1.8 - 1.17 the comments inside the file were lost. Now only the values that changed are written, everything else stays as you wrote it.
  • /mobcoins settings wrote whole numbers as 500.0 and removed a comment at the end of the line: now 500, and the comment stays.
  • layout was missing in the tab completion.
  • PlaceholderAPI balance placeholders gave 0 for offline players with SQLite / MySQL: they are now read in the background (refreshed every minute), the server never waits.
  • After /mobcoins layout remove <name> the command /<name> kept answering "no shop called ..." until a restart (Paper): now it answers like an unknown command.
  • /mobcoins shop <shop> <player> from the console with a wrong shop sent the error to the player instead of the console.
  • /mobcoins remove said "Removed 99,999,999" when the player had less: it now shows what was really removed.
  • /mobcoins top showed new balances only after the next refresh (60 seconds): the list is read again when it is opened.

Improved

  • Toggles of drops.yml in the settings menu say so in chat (drops.yml > enabled is now ...).
  • Setting the main shop to the one it already is gives a confirmation too.
  • A plugin menu turned off says "This menu is turned off." (it said "The shop is turned off.").
  • The startup banner says "PlaceholderAPI: downloading..." while auto-install is getting it.
4.0.0

Rebuilt from scratch on the Flare base (same as FlareTokens 4 and FlareReferrals).

  • One jar for Spigot, Paper, Purpur and other forks from 1.8.8 to 26.x, Java 8 or newer. Newer features (boss bars, hex colors, titles with times, custom model data) are used only where the server has them.
  • New text engine without libraries: MiniMessage tags, & codes, hex &#rrggbb, gradients, rainbow, click and hover in every message. The 3.x <GRADIENT:#a-#b> syntax still works.
  • New files: config.yml with short explanations, chat messages in lang/en.yml, shops in shops/, mob drops in drops.yml. New options and messages are added by themselves in future updates.
  • Automatic update from 3.x: old files saved in backup-3.x/, settings moved to the new config, shops moved to shops/, the global multiplier kept. Balances and player multipliers are not touched (same YAML file, SQLite file and MySQL table). Your 3.x drops.yml works as it is.
  • Balances keep 2 decimals and go up to 90 trillion (3.x stopped at 99,999,999.99 with MySQL / SQLite).
  • Online balances are kept in memory and saved on a separate thread: the server never waits for the database. Changes are atomic, so several servers can share one MySQL database (balances refresh every 10 seconds). Duplicated rows left by 3.x are merged automatically.
  • drops.yml: entries by mob name (ZOMBIE:), groups HOSTILE, PASSIVE, DEFAULT and the 3.x format (entity, entities, drop_value, drop_chance, drop_action). New: requirements, icon, disabled-worlds, ignore-spawner-mobs, permission multipliers (flaremobcoins.multiplier.vip: 1.5).
  • Multipliers: every drop is multiplied by the player multiplier × the server multiplier × the best permission multiplier. /mobcoins multiplier set|reset|global|check.
  • /mobcoins drops: menu with every drop, its mobs, chance and amount (with pages, menus/drops.yml).
  • Coins on the ground (coins-on-ground): coins of the same player close by become one, only the killer can pick them up, hoppers and mobs can't take them, they disappear after despawn-seconds. Now also on 1.8 - 1.13.
  • Shops: same format as 3.x plus rows, priority, view_requirements, [LEFT] / [RIGHT] actions, open_command per shop, live items (update: true) and a click cooldown against double purchases.
  • Rotating shops: normal and premium items change by themselves, SERVER stock (for everybody) or PLAYER stock (each player can buy X times), {stock} {max_stock} {normal_time_left} {premium_time_left}. The rotation and the stock are saved in data/state.yml, so a restart keeps the same items.
  • Actions: [buy(mobcoins)], [buy(money)] (Vault), [buy(tokens)] and [tokens_give] (FlareTokens), [mobcoins_give] / [mobcoins_take] / [mobcoins_set] with random amounts, [BROADCAST], [REFRESH], [DELAY], [OPEN_MENU] (did nothing in 3.x), [BOSSBAR] short form.
  • New checks: [has_mobcoins] 100, [has_money] 100, [has_tokens] 100, [has_permission] node, [expression] a >= b (the 3.x check(...) forms still work).
  • /mobcoins top, /mobcoins migrate <yaml|sqlite|mysql>, /mobcoins give|remove <player|*>, amounts like 2.5k, -s for silent changes, /mobcoins shop list.
  • Fixed from 3.x: requirement in drops.yml worked the opposite way; random_decimal(1,2) gave 1 more than the maximum; enable_stackers: true turned stacked mobs off; the coin example [mobcoins_give ] gave nothing; give / set / remove sent the "received" message to the admin instead of the player; /mobcoins balance <player> showed a missing text; [buy(...)] failed with decimal prices; the help page used FlareTokens permissions; open requirements of a shop were not checked; MobCoinReceiveEvent could not be cancelled.
  • Permissions: flaremobcoins.player (balance, pay, menu, shop, drops, top — on by default) and flaremobcoins.admin. Every permission has a description, listed by /mobcoins about permissions.
  • PlaceholderAPI: new %flaremobcoins_mobcoins%, _mobcoins_formatted, _mobcoins_commas, _multiplier, _global_multiplier, top_<n>_name, top_<n>_mobcoins, position. The 3.x placeholders keep working.
  • API: FlareMobcoinsAPI and MobcoinsChangeEvent. The 3.x classes MobcoinsPlayer and MobCoinReceiveEvent still work.
  • /mobcoins about (also version / ver, and from the console): plugin version in green (latest) or red (outdated, with the download link), server version, Java, storage, update notifier, plugin hooks and a clickable list of every permission. On startup a new version is written in the console, and admins get a clickable message when they join. It reads the public GitHub releases (betas are never offered to stable servers) and keeps the answer for 6 hours. Turn it off with update-check: false in config.yml. Permission flaremobcoins.command.version (op

Autentificare

Esti nou? Scrie doar emailul: contul se creeaza cand apesi pe link. Nu ai nevoie de parola.

sau

Iti trimitem un link care te autentifica dintr-un click. Merge si pentru conturi noi, si pentru cele existente.

Autentifica-te cu parola
Ai uitat parola?

Continuand, accepti Termeni si conditii si Politica de confidentialitate.

Staff: deschide „Autentifica-te cu parola” si scrie numele de utilizator in loc de email. Dupa parola iti cerem codul 2FA.