Recherche Recherche plugin [Economy]

Jaziimir

Aventurier
27 Octobre 2017
4
0
2
23
Bonjour, je cherche un plugin qui permet dans le scoreboard de mon serveur ( Featherboard) de convertir la monnaie en K , M , B , T , T

Exemple -

100 000 = 100k
1 000 000 = 1 M
1 000 000 000 = 1 B
etc ..

merci d'avance ! :)
 
Salut,

FeatherBoard intègre le support de MVdW Placeholders, permettant plus de 5000 variables ;) Pour répondre à ta question, tu peux utiliser n’importe quel plugin d'économie compatible avec Vault, à savoir :
En outre, je te conseille soit la monnaie d'Essentials, soit IConomy :)

Une fois que tu as ton plugin d'économie, il faut ajouter cette variable dans ton scoreboard :
Code:
{money_formatted}
(comme indiqué ici)

Ça va normalement te permettre d'avoir une monnaie formatée comme tu le souhaites ! Tu peux changer les lettres représentatives des unités dans la config de Vault :
Code:
# Formatted money settings
money_formatted:
fix_thousands: 'true'
fix_millions: 'true'
thousands_format: 'k'
millions_format: 'M'
billions_format: 'B'
trillions_format: 'T'
quadrillions_format: 'Q'

En espérant t'avoir aidé !
 
Hey, tout d'abord merci de ton aide. Mais sur mon serveur j'ai bien Mvdw Place holderApi dans feather bord jai bien mis ce que tu m'a dis mais rien a changer :/
 
Voici la liste de mes plugins : https://www.noelshack.com/2017-44-1-1509354545-2017-10-30-10-07-58.png
Config featherboard :
Code:
# ------------------------------ #
#
#  FeatherBoard 3
#  Runs like a feather on your server
#  (c) Maxim Van de Wynckel
#
# ------------------------------ #

# Permissions: To use the action groups give them the permission
#              featherboard.group.<group>
#              Make sure to remove them from the other groups
#              when giving a new permission.

# Variables: These variables can be used in the TEXT section
#            of both the header as the footer.
#          
#            {PLAYER}       - Player name
#            {PLAYERNICK}   - Player nickname
#            {SERVER}       - Server name
#            {PLAYERCOUNT}  - Server player count
#            {BUNGEECOUNT}  - Bungee network player count
#            4000+ more ... see spigot page

# Formatting: These are formatting tags allowing you to format the animations
#             or placeholders.
#
#             Substring: This allows you to split a word (even a placeholder) in parts
#               example: <substring begin=0 end=3>Hello World</substring> = Hel
#               usage: This can be used to split placeholders when creating a typewriter
#                      or to split the colors in a placeholder.
#
#             Scroll: This creates a scrolling animation of the text inside it. It accepts
#                     two arguments (the length and space between scrolls).
#               example: <scroll width=20 spaces=20>&2This is a &atest</scroll>
#
#             PLENTY MORE! See spigot page

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# GENERAL PLUGIN SETTINGS
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

## Config version (DO NOT EDIT)
config: 2

## Language file
lang: 'en'

## Debug mode
debug: false

## Log to file
log:
  enabled: true
  # Reset log on startup
  reset: false

## Update checking
update:
  check: false # RECOMMENDED YOU LEAVE THIS TRUE

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# PLUGIN SPECIFIC SETTINGS
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

# Placeholder settings
placeholder:
  # logs the memory usage of placeholders on startup
  log-memory: false
  # Clear unused placeholders that are not enabled.
  clear-unused: true
  # Config cache only
  # This will only use placeholders in the config
  # HOWEVER: IT WILL BREAK ALL CUSTOM PLACEHOLDERS!
  # IT WILL ALSO PREVENT ANY HOOKS (PlaceholderAPI)
  config-cache: false
 
# Tweaks to increase performance (Use at own risk)
tweaks:
  # This option does not send scoreboard remove packets
  # to the client on quit. This can increase performance on servers
  # where players quit a lot (hubs, ...)
  #
  # Removal of the plugin requires you to manually delete the scoreboard.dat in the worlds
  # /data folder
  #
  # Enabling this can cause the scoreboard not to work anymore. Use at your own risk
  keepScoreboardOnQuit: false
  # Some placeholders have a slow process behind them. Meaning they might contact a database
  # and take a while to 'resolve'. This will never cause lagg since the placeholders are loaded
  # separate from the sending. But can slow down the animation because it has to wait
  # for the placeholder to be loaded. When having multiple lines like a text that shows
  # the information about the placeholders you put below it, this can cause problems.
  # Enabling this will output a message in the console and ingame to operators
  # saying when a placeholder is causing delays.
  detect-placeholderdelay: false
  # Putting this to true will SPAM your console with timings report per placeholder/animation
  # refresh. Used for debugging purposes.
  # This requires detect-placeholderdelay to true
  verbose-placeholder-timings: false
 
# Toggling allows you to disable the scoreboard
database:
  # If you want the toggle to stay even when your users
  # log off you can enable this. Keep in mind that this requires a
  # MySQL or SQLite database.
  # If you are configuring the plugin for the first time it is advised
  # to stay away from these settings until you managed the scoreboard
  # set up.
  persistent: false
  # Database configuration is SIMILAR to http://wiki.bukkit.org/Bukkit.yml#database
  # with isolation, url, driver, ...
  # Database name
  database: "featherboard"
  # Database username
  username: bukkit
  # Database isolation type
  isolation: SERIALIZABLE
  # Database driver
  driver: org.sqlite.JDBC
  # Database password
  password: walrus
  # Database driver URL
  # {DIR} will be replaced with the plugin directory
  # {NAME} will be replaced wit the plugin name
  url: jdbc:sqlite:{DIR}{NAME}.db
  # Save interval in ticks
  save-interval: 6000

# Disabled worlds. Add your world name in this list to
# disable it.
disabled-worlds:
- 'example_world'

# Show delay on join. Usefull if you wish to let the user
# enjoy a Title MOTD without having the scoreboard obstructing
# the view.
show-delay: 0

# Anti Flicker will use a new engine that will allow you to use fast animations
# without any flicker.
# You can disable this feature if you do not have fast refresh rates.
antiflicker: true

# A list of different scoreboards
boards:
  # Default FeatherBoard comes with a board called "default". All players have the permission
  # featherboard.group.default  (by default) meaning all players should see the scoreboard unless
  # the permission is negated.
  #
  # You can create as many boards as you want as long as the name is unique. It is advised to give logical
  # names such as "vip-board", "mcmmo-levelup", ...
  default:
    title:
      text:
      - '&c&l<blink>Extosia</blink>'
      - '&6&l<blink>Extosia</blink>'
      - '&e&l<blink>Extosia</blink>'
      interval: 10
      random: false
    header:
      text:
      - '|9999|&6&m+----&e&m-----&6&m----+'
      interval: 10
      random: true
    player-line0:
      text:
      - '&6&l➤ &eConnectés: &4 {onlineplayers} / {maxplayers}'
    player-label:
      text:
      - '&6╔&c&lOP-Prison &f&l:'
      interval: 100
      random: false
    player-line1:
      text:
      - '&6║&eGrade &f: &7{group}'
    player-line2:
      text:
      - '&6║&eRankup &f: &7{ezrankspro_nextrankup}'
    player-line3:
      text:
      - '&6║&eInfos &f: &7{ezrankspro_progressexact} / 100'
    player-line4:
      text:
      - '&6╠&c&lPvP &f&l:'
    player-line5:
      text:
      - '&6║&eKill &f: &7{stat_kills}'
    player-line6:
      text:
      - '&6║&eMort &f: &7{stat_deaths}'
    player-line7:
      text:
      - '&6╠&c&lPersonnel &f&l:'
    player-line8:
      text:
      - '&6║&eArgent &f: &7{money_formatted}'
      interval: 5
      random: false
    player-line9:
      text:
      - '&6║&eObtenir &f: &7{ezrankspro_rankup_cost}'
    player-line10:
      text:
      - '&6║&e(X,Y,Z) &f: '
    player-line11:
      text:
      - '&6╚&7{x} {y} {z}'
    footer:
      text:
      - '|-9999|&6&m+----&e&m-----&6&m----+'
      interval: 10
      random: true
Merci pour ton aide @DiscowZombie
 
Salut,

assure toi que tu utilise bien la dernière version de Vault, FeatherBoard et Essentials. Si c'est toujours le cas et que ça ne fonctionne toujours pas après un redémarrage, je peut te proposer de remplacer
Code:
{money_formatted}
par
Code:
{money_rounded}

Si même avec tout ceci, ça ne fonctionne pas, tu peux essayer d'installer le plugin Balance Formatter, je sais bien qu'il n'est plus à jour mais c'est un peu le dernier recours si tout le reste ne fonctionne pas.