Git Product home page Git Product logo

coins's Introduction

Redis Debian HTML5 RabbitMQ Cloudflare JavaScript Android Vue Tailwind LaTeX Arduino Java Caddy Docker CSS3 Discord MariaDB RegEx GitHub IntelliJ WebStorm

Experienced (8+ years) in programming backends (Java), databases (SQL), Discord bots (Java), webservers (Java), Vue websites (JS), Minecraft plugins (Java), ESP/AVR microcontrollers (C++); managing DNS, Linux servers (Debian); using RegEx, MQTT, Redis. hmu

coins's People

Contributors

chenxuuu avatar itsfolf avatar justeli avatar mattanderson97 avatar montlikadani avatar rezzedup avatar takato65 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

coins's Issues

loseOnDeath: true not working

references:


Hello. I've been having a problem with this plugin not taking away coins on death. I believe I have my config set properly with loseOnDeath: true and a percentage of loss, but whenever anybody does die, no message is displayed on death screen, and no value is lost.
I am running a Spigot 1.16.3 server with the plugins HealthBar, AngelChest, SilkySpawners Lite, Vivecraft Spigot Extentions, Coins, EssentialsX, Vault and LuckPerms.
I've tried disabling all plugins but Coins, EssentialsX, Vault, and LuckPerms but coins are still not being lost.


I'm having this same problem. Coins do not drop on player death and no balance is deducted. I have checked the config file to make sure I have the correct settings enabled. Is there a permission that we're missing? I am using Coins 1.10.1 on Paper #336. I'm also running EssentialsX, Vault, and LuckPerms same as quoted post.

Other than that, great plugin! My players and I love the "dropEachCoin" setting. Seeing tons of coins drop after killing enemies is very satisfying and makes for a good game experience.

Could not pass event EntityDeathEvent

Describe the bug
When I kill a passive mob, the error appears in console, and if passiveDrop setting is enabled, coins don't drop

To Reproduce
Steps to reproduce the behavior:

  1. Kill a passive mob
  2. Error appears and coin doesn't drop

Error

Could not pass event EntityDeathEvent to Coins v1.10.3
java.lang.NoClassDefFoundError: org/bukkit/entity/Boss
	at me.justeli.coins.api.IsEntity.hostile(IsEntity.java:14) ~[?:?]
	at me.justeli.coins.events.DropCoin.entityDeath(DropCoin.java:97) ~[?:?]
	at me.justeli.coins.events.DropCoin.onEntityDeath(DropCoin.java:52) ~[?:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor449.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[minecraft_server.jar:git-Paper-1618]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[minecraft_server.jar:git-Paper-1618]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_server.jar:git-Paper-1618]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[minecraft_server.jar:git-Paper-1618]
	at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:397) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.EntityLiving.die(EntityLiving.java:1148) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.EntityPig.die(EntityPig.java:136) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.EntityLiving.damageEntity(EntityLiving.java:983) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.EntityHuman.attack(EntityHuman.java:1028) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.EntityPlayer.attack(EntityPlayer.java:1397) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1724) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:49) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(PacketPlayInUseEntity.java:6) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[minecraft_server.jar:git-Paper-1618]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_292]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_292]
	at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[minecraft_server.jar:git-Paper-1618]
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[minecraft_server.jar:git-Paper-1618]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
Caused by: java.lang.ClassNotFoundException: org.bukkit.entity.Boss
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:109) ~[minecraft_server.jar:git-Paper-1618]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[minecraft_server.jar:git-Paper-1618]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_292]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292]
	... 26 more

Additional context
Server version: PaperMC 1.12.2 (git-Paper-1618)
Plugin version: 1.10.3

Btw, in 1.10.1 all works good

wider pitch range

Hi, I don't know if this is possible but
it would be great if soundPitch could be set greater than 2 and lesser than 0.5 (but never 0 or less obviously)...
for a better experience... maybe it could be set between 0.25(1/4) and 4, or 0.125(1/8) and 8... that would be wide enough...

Death Error

22.01 19:13:03 [Server] ERROR Could not pass event PlayerDeathEvent to Coins v1.7.1 22.01 19:13:03 [Server] INFO org.bukkit.event.EventException: null 22.01 19:13:03 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:614) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.EntityPlayer.die(EntityPlayer.java:515) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.EntityLiving.damageEntity(EntityLiving.java:1088) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.EntityHuman.damageEntity(EntityHuman.java:820) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.EntityPlayer.damageEntity(EntityPlayer.java:655) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.EntityLiving.c(EntityLiving.java:1375) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.EntityHuman.c(EntityHuman.java:1644) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.Block.fallOn(Block.java:582) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.Entity.a(Entity.java:1097) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.EntityLiving.a(EntityLiving.java:208) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.EntityPlayer.a(EntityPlayer.java:832) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1085) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.PacketPlayInFlying.a(SourceFile:126) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.PacketPlayInFlying$PacketPlayInPosition.a(SourceFile:57) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:12) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_191] 22.01 19:13:03 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_191] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:109) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1016) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:943) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:841) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] 22.01 19:13:03 [Server] INFO Caused by: java.lang.NullPointerException 22.01 19:13:03 [Server] INFO at me.justeli.coins.events.DropCoin.onDeath(DropCoin.java:53) ~[?:?] 22.01 19:13:03 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor59.execute(Unknown Source) ~[?:?] 22.01 19:13:03 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.13.2.jar:git-Paper-488] 22.01 19:13:03 [Server] INFO ... 26 more

Potential issues with skull items with custom textures

A user of the Shopkeepers plugin ran into issues with his custom skull items created by this plugin not working in villager trades created by the Shopkeepers plugin, so I looked into it and noticed a few potential issues with these skull items with custom textures:

I don't know whether fixing these issues will resolve the issue that this other user of the Shopkeepers plugin had. This are just the things that I have noticed so far while looking into this. But my current guess is that the first issue mentioned above is the one relevant to this user.

Here is the config which I tested this with: https://pastebin.com/znve6tyV

Update Treasury Integration

Treasury v1.1.0 has released which changes the way that economy providers are accessed - instead of using Bukkit's service manager, plugins should now use Treasury's service API to access it. Let me know if you need a hand with it ๐Ÿ˜ƒ

Placing a sunflower when a coin is used on grass/dirt

Describe the bug
When right-clicking a default coin (sunflower) on a grass/dirt block it places a sunflower.

To Reproduce
Steps to reproduce the behavior:

  1. Use the coin on a grass/dirt block
  2. The sunflower gets placed.

Expected behavior
The coins should not plant a sunflower like when it's used on other blocks.

Screenshots
https://snipboard.io/ZNlbvH.jpg

System

  • OS: Windows 10 Enterprise 21H1

Error
None

Additional context
None

Coin 1.13.1 bugged on 1.20.1

Describe the bug
I believe Coins 1.13.1 version is bugged on 1.20.1

  1. It seems like when I have both passive and hostile mobs enabled on the config. Only by killing natural hostile mobs, you get coins but by killing passive mobs you do NOT get coins.

  2. Mining ore's does NOT give you any coins.'

To Reproduce
Steps to reproduce the behavior:
It should be above as I explained it. And I do not see any console error.

Expected behavior
I expected that killing passive mobs it should drop coins as well when I have it enabled in the configuration. It works fine with hostile mobs.

stacking coins in creative

  • in creative mode, coins stack when clicked with the mouse wheel, causing people with creative mode to make infinite money

Translatation of this message

Is your feature request related to a problem? Please describe.
I want to translate this message to russian, some of my players won't understand it (because it is in english and I can't translate it).

Describe the solution you'd like
I want you to make this message (when you tab complete /withdraw) command) translatable.

Describe alternatives you've considered
None.

Additional context
taban

I simply LOVE this plugin and I have a few ideas for you..

Okay, so after spending some time with your plugin, I can honestly say i'm feeling pretty inspired by the concept of physical coins. So, below I'm going to let you know all of the ideas I have thought of ๐Ÿ˜Ž

More Coins

I went down a mild rabbit-hole yesterday creating a small texture pack for this plugin. All was going well, until I got the bright idea to make a few different types of coins..

Frame 4 Frame 3 Frame 2

As you can see above, I ended up making Gold, Iron & Copper coin textures with no ability to use them all hahaha!

So that brings me to now, requesting a feature that may be as straight forward as repeating some code, or more likely require extensive reworks and if that's the case, sorry for asking hahah, however:

  1. Add support for multiple types of coins.
  2. Basic ability to customise the new coins. (coin-item, custom-model-data, worth)

Withdraw

There's a few improvements I'd really like to see regarding how coins are withdrawn. You have an option to drop-each-coin but this doesn't apply to when you withdraw coins:

  1. Ability to only withdraw the exact amount of physical coins, not just a single coin.
  2. Toggle to disable the amount on the item tooltip. (useful for ^)

Deposit

Would be totally cool to have the ability to make coins strictly "physical", like real world money. It would totally allow more consequence when players die in both PVE or PVP and on paper, it should be pretty simple to implement with a few options in the config:

  1. Stop coins from automatically getting deposited. (maybe a group specific permission to allow this)
  2. Option to make users deposit their money via an "ATM". (possibly using dropper/dispenser with ability to use custom texture?)

Crafting

This totally isn't needed in the slighted, but I'm not sure this is possible with another plugin as you're making a custom item, but an option to craft coins would be cool, such as 1 ingot = x coins?

Texture Pack

You're also welcome to use this texture pack for your plugin if you like, maybe even include it as an example for the config options. (data = 1024)

Vanilla Coins.zip

Coins Claiming sound

when coin withdrawed and then claimed it sound make a sound like (player leveling up) or something ,there is no option on that in the config, please add this feature it would be amazing, thanks :D

Coins not dropping for mining

Describe the bug
I set my Coins plugin so that when I mine diamond blocks, coins drop. They don't. I have the AutoPicker plugin installed if that makes any difference.

To Reproduce
Steps to reproduce the behavior:

  1. Change the coin block drop config to:
#  #  #  #  #  #  #  #
#  Coin Block Drops  #
#  #  #  #  #  #  #  #

# Drop coins for mined blocks. This setting only works when the block drops a
#  different item than the block itself. For example a Diamond Ore drops Diamond
#  without Silk Touch. So it doesn't work when using Silk Touch. That is because
#  the player would be able to place the block again, and get coins once again.
#  The number behind the block name below is the multiplier for coin drops.
# Materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
block-drops:
  'emerald_block': 4
  'diamond_block': 3
  'gold_block': 2
  'iron_block': 1

# What's the chance per mined block? Set to 0 to disable dropping coins for blocks.
mine-percentage: 1.00
  1. Try to mine emerald, diamond, gold or iron blocks.

Expected behavior
The coins drop.

Screenshots
If applicable, add screenshots to help explain your problem.

System

  • OS: Server is hosted on Linux

Error
No error

Additional context
Add any other context about the problem here.

Players are able to create their coin using rename command and recolor command and abuse the system

Players are able to create their own coin of any amount if they use rename and recolor command. Can you make the item unique with NBT Tag or something? so no one can recreate coins using rename and recolor command? I feel like the plugin just identifies coins just by name and color. it's not even detecting item differences. I can rename an arrow as 100000 Coins for example and it will still be redeemable. Thanks for reading my terrible issue report. Have a nice day.

Magic from plugin "wands" does not result in coin drop

Would it be possible to add a configuration option for mobs to always drop coins regardless of death cause?

I ask because on my server we use the wands plugin, and when a mob is killed via a spell, it seems the coins are not dropped because the kill is not linked directly to the player casting the spell(s)

Treasury 2.0 API Support

Treasury 2.0.1 has been released with some API breaking changes in Coins. What would it take to get this updated?

Batch Withdrawal

Sometimes when using item based trading plugins (like Shopkeepers) its needed to have the currency item as separate values, for example:
I'm trading some item for $100, and the trading plugin is using 10 currency items of $10 of value each, so if I need to get that trade, I have to do /withdraw 10 x10 times, and this is a "little example", Imagine if it was 100 currency items of $1 value each...

so my request is something like this:

  • either add to the /withdraw command a second argument like this: /withdraw [value] [quantity] given quantity 1 by default...

  • or add a new command: /batchwithdraw [value] [quantity]

for now I'm using a plugin called MyCommand which lets you create your own commands, so I did it like this:

batch_withdraw:
  command: /bwithdraw
  type: RUN_COMMAND_TASK
  runcmd:
  - '/withdraw $arg1'
  tab_completer:
  - 2
  - 4
  - 8
  - 16
  - 32
  - 64
  - 128
  - 192
  - 256
  - 320
  - 640
  error-message: '&cHELP: &e/bwithdraw [$] [#]'
  required_args: 2
  require_all_args: true
  task_run_immediately: true
  task_repeat_every_sec: -1
  task_run_n_times: $arg2
  task_run_when_offline: true
  task_show_debug: false
  register: true

the only issue is that each time /withdraw is run by this command, it spams the chat with the message about each withdrawal...

this is in my case, but what about other people trying to do something like this and don't want to add another plugin to be able to do it? that's my request...

Mobs not dropping coins

Hi, I just created a server in 1.16 and mobs dont drop any coins. If you use the /coins drop command it works but mobs dont. Thanks you.

Placing Coin 1/2 Flower

When you withdraw a coin, if you place it, it will put the top half of the sunflower and leave the coin in your inventory.w

Coins not works with MythicMobs

Describe the bug
Coins wont works with latest MythicMobs version, problably they changed api?

To Reproduce
Steps to reproduce the behavior:
1 download latest free version of mythicMobs - https://mythiccraft.io/index.php?pages/official-mythicmobs-download/&version=5.0.1
2 download latest version of Coins plugin - https://www.spigotmc.org/resources/coins.33382/
3 put together inside plugins folder.. error

Expected behavior
No error and coins work with MM

System

  • OS: windows server 2019
  • Coins: 1.12.2
  • mythicMobs: 5.0.1
  • Paper mc: git-Paper-220 (MC: 1.18.2)

Error

[15:22:01 INFO]: [Coins] Enabling Coins v1.12.2
[15:22:01 INFO]: [Coins] Vault is used as the economy provider.
[15:22:01 ERROR]: Error occurred while enabling Coins v1.12.2 (Is it up to date?)
java.lang.NoClassDefFoundError: io/lumine/xikage/mythicmobs/drops/Drop
        at me.justeli.coins.Coins.registerEvents(Coins.java:220) ~[Coins-1.12.2.jar:?]
        at me.justeli.coins.Coins.onEnable(Coins.java:99) ~[Coins-1.12.2.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:501) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:559) ~[paper-1.18.2.jar:git-Paper-247]
        at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:473) ~[paper-1.18.2.jar:git-Paper-247]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:664) ~[paper-1.18.2.jar:git-Paper-247]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431) ~[paper-1.18.2.jar:git-Paper-247]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:316) ~[paper-1.18.2.jar:git-Paper-247]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1163) ~[paper-1.18.2.jar:git-Paper-247]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.18.2.jar:git-Paper-247]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: io.lumine.xikage.mythicmobs.drops.Drop
        at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:151) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        ... 13 more
[15:22:01 INFO]: [Coins] Disabling Coins v1.12.2

Additional context
tried set "disable-mythic-mob-handling: true", no changes, same error.

Important bug!

If you rename the coin on the anvil, in its name, and throw the money will be credited!

CustomTexture not loading

Hi, I'm using Coins plugin on paper 1.16.2, I like it and it's really good so far...
the thing is that I'm trying to change the coin's texture using the "skullTexture" value, but it's not working... this is my config file:

# # # # # # # # # # # # # # # #
#   Configuration for Coins   #
# # # # # # # # # # # # # # # #

# What language should the plugin use? And what is your server's currency?
# All available languages can be found in folder 'languages' in the plugin folder.
# Included languages by default: english, dutch, german, french, spanish, swedish, chinese & hungarian.
language: english
currencySymbol: "$"

# You aren't really going to notice this, but in hoppers you can see its name.
# See a list of all color codes here: http://minecraft.gamepedia.com/Formatting_codes
# 'multiSuffix's parameter will be added behind 'nameOfCoin' in case it's more than one coin.
nameOfCoin: "&6Coin"
multiSuffix: "s"

# What item will the dropped 'coin' (material) be? Find all materials at:
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
coinItem: coin     # coin = sunflower

# Should the coin have an enchanted effect?
enchantedCoin: true

# You can also set a custom texture for the coin, as skull. Filling this will disable 'coinItem'.
# Find textures here (example): https://minecraft-heads.com/custom-heads/decoration/3005-money-bag
# Input the string from "Other > Value" at the bottom of the page, it's a 'texture value'.
# In case of the example, that would be the one starting with "eyJ0ZXh0dXJl[...]".
skullTexture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDA0NzE5YjNiOTdkMTk1YTIwNTcxOGI2ZWUyMWY1Yzk1Y2FmYTE2N2U3YWJjYTg4YTIxMDNkNTJiMzdkNzIyIn19fQ=="

# This message is sent as action bar, telling the player how much money they have picked up.
# The variable {$} will be replaced by the 'currencySymbol', default: $.
pickupMessage: "&2+ &a{$}%amount%"

# This plugin will drop one coin, being worth what's set at 'moneyAmount'. But here you can
# set that a mob should drop 'moneyAmount's AMOUNT of coins, with each coin being worth $1.
dropEachCoin: true

# Also drop coins when the mob is NOT killed by a player?
# That means that any death cause will cause the mob to drop coins, not just players!
dropWithAnyDeath: false

# The amount of money one coin is worth. Creates a random number between
# 'from' and 'to' which - as money - will be given to the player on pickup.
# However, if 'dropEachCoin' is set to true, killed mobs will drop 'from' to 'to' coins,
# with each coin being worth $1. So by default it will drop 3 to 7 coins when 'dropEachCoin' is true.
moneyAmount:
  from: 5.0
  to: 9.0

# How many decimals should money have? Set to 0 for integers/rounded money (i.e. $3 $6 $8).
# Value 1 (default) means i.e. $2.3 $5.8 $8.0, value of 2 means i.e. $5.23, $3.70, $6.99, etc.
# This setting will be ignored (and set to 0) if 'dropEachCoin' is set to true.
moneyDecimals: 2

# Should coins be stacked? (Or should a coin be one on its own?)
# Stacked coins don't act like one coin. The stack is counted and the worth is multiplied.
# Not stacking coins is just for a cooler effect.
# This setting will be ignored (and set to false) if 'dropEachCoin' is set to true.
stackCoins: false

# The minimum percentage of damage a player needs to deal to a mob to drop coins.
# This can be useful for one-hit mob grinders that damage mobs by i.e. fall damage.
# Value from 0.0 to 1.0: 0.0 meaning 0%, 1.0 meaning 100% (so 0.9 meaning 90%).
# This feature does not work for Minecraft version 1.8.x.
percentagePlayerHit: 0.9

# Disable hoppers to pick up any kind of coins.
disableHoppers: false

# Put the amount of coins dropped for a specific mob here, by default: mobs drop one coin.
# ENDER_DRAGON is added by default, meaning that on kill of Ender Dragon, 64 coins drop.
# Set a mob type to 0 (i.e. 'BAT: 0') to disable coins for that specific type.
# You can find mob types via this URL (types that aren't creatures will be ignored):
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
mobMultiplier:
  ENDER_DRAGON: 50
  WITHER: 20
  PLAYER: 3

# When a player gets killed by another player, should (three; setting above) coins drop?
playerDrop: true

# And should coins NOT drop when both players have the same ip address?
# This means that no coin(s) will be dropped if both players are from the same computer.
# This prevents spam killing for unlimited money, unless you use this plugin for a local server.
preventAlts: true

# Should mobs from spawners drop a coin too?
# Mobs from spawners won't drop a coin by default.
# When 'false', mobs can still drop coins when the player (who killed) has permission: 'coins.spawner'.
spawnerDrop: false

# Should passive mobs also drop a coin?
# Passive mobs don't drop a coin by default.
passiveDrop: false

# Prevent slimes and magma cubes spawned by splits from dropping coins?
# I've noticed that players can easily get hundreds of coins in slime chunks keeping this 'false'.
preventSplits: true

# Play a sound on pickup of a coin.
# This sound is a 1.9+ sound, if you use 1.8, put another sound in there.
# If the sound name remains untouched, and you use 1.8, it will do an 1.8 sound automatically for you.
# Here is a list of 1.9+ sounds: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
pickupSound: true
soundName: "BLOCK_NOTE_BLOCK_CHIME"
soundPitch: 2.0
soundVolume: 0.5

# Chance of dropping a coin after a mob has been killed.
# Value from 0.0 to 1.0: 0.0 meaning 0%, 1.0 meaning 100% (so 0.9 meaning 90%).
dropChance: 1.0

# Set the amount of kills per location before coins stop dropping. Useful for overuse of grinders.
# Default: 1, after 1 kill at X Y Z, it won't drop coins there for two hours. Disable by inputting 0.
limitForLocation: 10

# List all worlds you want Coins to be disabled in here.
# Example for disabling two worlds called 'creative' and 'plots':
#    disabledWorlds:
#    - plots
#    - creative
disabledWorlds: []

# This value sets the Custom Model Data value for the coin. This can be used for custom textures.
# Default: 0 (disables the feature) You are probably only interested if you use a custom texture pack.
customModelData: 0

# Lets players use /withdraw <amount> to get a coin "<amount> <coin name>s": for example "53 Coins".
# This allows players to store the coins in chests, but won't be easier to give to others.
# When the coin gets dropped, and picked up after, give the player the amount of money the coin was worth.
enableWithdraw: true
maxWithdrawAmount: 1000000.0

# Drop coins for mined blocks. What's the chance? (0.2 = 20% = 1 coin per 5 /experience/ blocks mined)
minePercentage: 0.5

# Only drop coins by the given chance for blocks that drop experience, like: lapis, iron, spawners.
onlyExperienceBlocks: true

# Should players lose money on death?
# It shows a title (in the middle of the screen) how much they lost on death.
loseOnDeath: true

# If so, how much will be taken? A random integer in between 10 and 30 by default.
moneyTaken:
  from: 5
  to: 10

# Should we take the *amount* of money from them, or the *percentage* of their money?
# Amount of 10 to 30 would be $10 to $30. Percentage of 10 to 30 would be 10% to 30%.
takePercentage: true

# And should the money be dropped, or just disappear? Disappears by default.
dropOnDeath: true

# The message in the middle of their screen.
deathMessage: "&4- &c{$}%amount%"

the console is not giving any error at all, but the coins are still being used as a sunflower...
Am I doing it wrong? this is the one I'm trying to use: 8210-money-bag

When drop coins Head

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
When player is die, write this error
[00:04:57 WARN]: Found inconsistent skull meta, this should normally not happen and is not a Bukkit / Spigot issue, but one from a plugin you are using.
Bukkit will attempt to fix it this time for you, but may not be able to do this every time.
If you see this message after typing a command from a plugin, please report this to the plugin developer, they should use the api instead of relying on reflection (and doing it the wrong way).
[00:04:57 INFO]: ๐Ÿ’€Skullhead

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

System

  • OS: [e.g. macOS]

Error
The error that is shown in console.

Additional context
Add any other context about the problem here.

Ability to set "minimum" withdraw amount.

Is your feature request related to a problem? Please describe.
My idea was to use fake bitcoin as my currency, but I cant withdraw an amount less than 1.

For example, bitcoin (satoshi) is moved 8 decimal places, so $1 = 0.00002700 satoshi.

Describe the solution you'd like
I'd love to be able to set the minimum withdraw amount to a number less than 1.

Describe alternatives you've considered
N/A

Additional context
N/A

loseOnDeath : true

It doesn't work in 1.12.2 Magma server.
Player will not drop money when they dead.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

System

  • OS: [e.g. macOS]

Error
The error that is shown in console.

Additional context
Add any other context about the problem here.

1.8 bug

dropped coins that collect in chests don't disappear when clicked

No drop for ores that does not drop an item & no money removed after kill

Describe the bug
Mining ores like IRON, GOLD, or non-item-dropping XP blocks that should drop a coin, does not drop any coin.

To Reproduce
Steps to reproduce the behavior:
Mine iron or gold for example, with an iron or diamond pickaxe. It won't drop coins neither putting the iron_ore into the furnace. Coal and diamond ore when mining it does drop coins.

Expected behavior
To mine iron or gold and getting a coin.

System

  • PaperMC last version till today: git-paper 135, MC1.16.1, plugin: 1.9.5

In the config file it is set to drop just for XP blocks (such as iron, as it is written) and 1.0 chance of dropping for mining.
config.yml

UPDATE:
just discovered that when dying it does not reduces the money.

Withdrawing Problems..

Love the plugin, but there is a problem with it. When I withdraw and drop a coin on the ground, I can't pick it back up.. Also when I right click on the ground with it, it turns into a flower but it's still in your inventory. Not something major, but thought it should get fixed. Thanks!

setting up coins for gemseconomy

Hello. I've been having a problem with setting up this plugin with gemseconomy (https://www.spigotmc.org/resources/gemseconomy.19655/) i just want to know how to set up this plugin with coins to work properly

plugin: AnnouncementsEverywhere, ChestShop, Coins, CoreProtect, Essentials, GemsEconomy, Geyser-Spigot, GriefPrevention, LuckPerms, TogglePvp, Vault, ViaBackwards, ViaVersion, WorldEdit, WorldEditSelectionVisualizer, WorldGuard, placeholderAPI

it works on essential but i want change it to GemsEconomy

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.