Bonjour à tous,
je vous écrit car j'ai un serieux probème avec Citizens.. J'ai installé ce plugins dans l'idée de permettre la création d'un pnj lorsque le joueur atteind un certain montant d'argent.
Malheureusement, pr le moment celui ci peut créer un npc meme s'il n'a pas l'argent!
Il y a bien la phrase "You need 500 dollars more to do that" mais néanmoins le personnage se crée quand meme
quelqu'un peut il me venir en aide?
iconomy config:
Citizens economy:
Citizens config:
je vous écrit car j'ai un serieux probème avec Citizens.. J'ai installé ce plugins dans l'idée de permettre la création d'un pnj lorsque le joueur atteind un certain montant d'argent.
Malheureusement, pr le moment celui ci peut créer un npc meme s'il n'a pas l'argent!
Il y a bien la phrase "You need 500 dollars more to do that" mais néanmoins le personnage se crée quand meme
quelqu'un peut il me venir en aide?
iconomy config:
Code:
System:
Default:
Currency:
Major: [ 'Dollar', 'Dollars' ] # Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
Minor: [ 'Coin', 'Coins' ] # Minor (Major.[Minor]) 0.23 Coins (With Seperate 0 Dollars, 23 Coins)
Account:
Holdings: 5.0 # Default holdings on hand upon join / creation.
Bank:
Name: iConomy # Default Bank Name
Currency:
Major: [ 'Dollar', 'Dollars' ]
Minor: [ 'Coin', 'Coins' ]
Account:
Fee: 20.0 # Default cost to register an account
Holdings: 30.0 # Default initial account holdings
Formatting:
Minor: true # Example (true) 0.23 Coins and 1.23 Dollars (false) 0.23 Dollars and 1.23 Dollars
Seperate: true # Example (true) 1 Dollar, 23 Coins (false) 1.23 Dollars (Only if Minor is true)
Logging:
Enabled: true # Logs transactions done inside iConomy only, other plugins must utilize the api. (Logs to SQL)
Banking:
Enabled: false
Accounts:
Multiple: false
Interest:
Enabled: false
Online: true # Only give to players who are online?
Announce:
Enabled: false
Interval:
Seconds: 60
Amount:
Cutoff: 1 # Amount limit to be met until we stop giving interest. (0.0 for no limit)
On: 'Players' # Banks or Players
Percent: 0.0 # Percent of holdings to give / take (Negative to take) (Overrides Min/Max)
Maximum: 1 # (Range) Maximum amount for random in between. (Make Max/Min equal for a flat-rate amount ie: 5/5)
Minimum: 2 # (Range) Minimum amount for random in between.
Database:
Type: 'H2' # H2 or MySQL
Settings:
Name: 'minecraft'
Table: 'iConomy'
MySQL:
Username: 'root'
Password: 'pass'
Hostname: 'localhost'
Port: 3306
Citizens economy:
Code:
economy:
use-econplugin: true
use-economy: true
prices:
blacksmith:
creation:
item: 10
econplugin: 100
item-currency-id: 37
toolrepair:
item:
wood: 1
diamond: 5
stone: 3
gold: 2
iron: 4
misc: 2
econplugin:
wood: 0.25
diamond: 1.25
stone: 0.75
gold: 0.5
iron: 1
misc: 0.5
item-currency-id: 37
armorrepair:
item:
diamond: 5
gold: 2
leather: 1
iron: 4
chainmail: 3
econplugin:
diamond: 1.25
gold: 0.5
leather: 0.25
iron: 1
chainmail: 0.75
item-currency-id: 37
basic:
creation:
econplugin: 300
guard:
creation:
item: 10
econplugin: 100
item-currency-id: 37
wizard:
creation:
item: 10
econplugin: 100
item-currency-id: 37
changetime:
item: 10
econplugin: 100
item-currency-id: 37
spawnmob:
item: 10
econplugin: 100
item-currency-id: 37
teleport:
item: 10
econplugin: 100
item-currency-id: 37
togglestorm:
item: 10
econplugin: 100
item-currency-id: 37
trader:
creation:
item: 10
econplugin: 100
item-currency-id: 37
healer:
creation:
item: 10
econplugin: 100
item-currency-id: 37
heal:
item: 10
econplugin: 100
item-currency-id: 37
levelup:
item: 10
econplugin: 100
item-currency-id: 37
quester:
creation:
item: 10
econplugin: 100
item-currency-id: 37
Citizens config:
Code:
range:
guards:
default-bouncer-protection-radius: 10
pathfinding: 16.0
basic:
look: 5
items:
item-list-on: true
basic:
select-items: '*'
talk-items: 340,
healers:
give-health-item: 35
take-health-item: 278
wizards:
mana-regen-item: 348
interact-item: 288
ticks:
guards:
respawn-delay: 100
healers:
health-regen-increment: 12000
wizards:
mana-regen-rate: 6000
saving:
save-often: true
use-task: true
delay: 72000
pathing:
max-stationary: -1
max-pathing: -1
waypoints:
right-click-pause: 70
general:
delay: 1
general:
limits:
npcs-per-player: '10'
defaults:
enable-following: true
talk-when-close: false
debug-mode: false
healers:
pay-for-heal: true
regen-health: true
colors:
use-npc-colours: true
npc-colour: f
wizards:
regen-mana: true
max-mana: 100
wizard-max-locations: 10
notify-updates: true
chat:
slashes-to-spaces: true
selection-message: <g>You selected <y><npc><g> (ID <y><npcid><g>).
default-text: Hello.;How are you today?;Having a nice day?;Good weather today.;Stop hitting me!;I'm bored.;
creation-message: <g>The NPC <y><npc><g> was born!
format: '[%name%]: '
selection:
quick-select: false
use-bukkit-permissions: true