Résolu RECHERCHE PLUGIN POUR SERVEUR RP LE PLUS VITE POSSIBLE SVP

FRmaxFR

Bucheron
16 Juillet 2017
8
0
12
26
Bonjour, je recherche un plugin quand on clique droit sur un objet poser sa nous met un gui la ou on peux modifier mettre les choses. Je cherche depuis 3jours et je trouve rien. Y'a chestcommand qui fait le gui mais si on fait une commande .
Merci pour toutes vos réponses
- FRmaxFR
 

FRmaxFR

Bucheron
16 Juillet 2017
8
0
12
26
Oh Merci beaucoup énormément merci tu m'as vraiment aidé ! Encore Merci .
Edit : Quand je met ^M devant les id sa m'affiche des erreurs
 
Dernière édition:

FRmaxFR

Bucheron
16 Juillet 2017
8
0
12
26
Merci de ta réponse,
( Logs ) Erreur :
#------------------- Chest Commands Errors -------------------#
1) The item "wool:1^M" used to open the menu "example.yml" is invalid: invalid data value "1^M"
2) The icon "menu-close-no-commands-no-lore" in the menu "example.yml" has an invalid ID: invalid material "redstonelamp^M"
#-------------------------------------------------------------#

Config:
######################
#+ +#
# MENU SETTINGS #
#+ +#
######################

menu-settings:

# name - appears as the title - REQUIRED
name: '&1Example menu'

# rows - the number of rows of the chest - REQUIRED
rows: 3

# command - OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'menu; m; me')
command: 'menu'

# auto-refresh - OPTIONAL
# How frequently the menu will be refreshed, in seconds.
# Useful if you have variables in items' descriptions.
auto-refresh: 5

# This command command will be execute when the menu is opened.
# Supports all the icon command types.
open-action: 'sound: note pling; tell: &eYou opened the example menu.'

# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: wool:1^M
left-click: false
right-click: true


######################
#+ +#
# ITEMS #
#+ +#
######################


spawncmd:
COMMAND: 'spawn'
NAME: '&e/spawn'
LORE:
- 'It justs executes /spawn'
- 'as the player who clicked.'
ID: bed
POSITION-X: 1
POSITION-Y: 1


colored-enchanted-stacked-wool:
NAME: '&aWool with additional data'
LORE:
- 'This wool has a data value, an amount'
- 'greater than 1, and two enchantments.'
ID: wool
DATA-VALUE: 1
AMOUNT: 10
ENCHANTMENT: knockback, 10; durability, 10
POSITION-X: 2
POSITION-Y: 1


this-text-will-not-appear:
NAME: '&dFormatting codes'
LORE:
- 'You can use all the formatting codes!'
- '&fColors: &c#c &a#a &9#9 &e#e &f... ...'
- '&fRandom (#k): &kfy379!H'
- '&fBold (#l): &lexample'
- '&fStrikethrough (#m): &mexample'
- '&fUnderline (#n): &nexample'
- '&fItalic (#o): &oexample'
ID: paper
POSITION-X: 3
POSITION-Y: 1


test-from-console:
COMMAND: 'console: say Hello {player}!'
NAME: '&cRuns command from the console.'
LORE:
- 'It broadcasts your name with the command /say.'
ID: command block
POSITION-X: 4
POSITION-Y: 1


test-as-op:
COMMAND: 'op: say Hello world!'
NAME: '&cRuns command as OP.'
LORE:
- 'Be careful with this type of commands.'
- 'It will ignore nearly all the permissions.'
ID: command block
POSITION-X: 5
POSITION-Y: 1


test-with-placeholder:
COMMAND: 'tell: &9Online players: &f{online}/{max_players}; tell: &9Your name: &f{player}; tell: &9The world you are in: &f{world}; tell: &9Money: &f{money}'
NAME: '&6This message contains some placeholders'
LORE:
- 'Placeholders will be replaced when the item'
- 'is clicked.'
ID: empty map
POSITION-X: 6
POSITION-Y: 1


economy-give:
COMMAND: 'tell: &aYou have paid 50$ for this command!; give: gold_ingot'
NAME: '&eEconomy & Give command'
LORE:
- 'This command will be executed'
- 'only if you have at least 50$!'
- 'It gives you a gold ingot.'
ID: gold ingot
PRICE: 50
POSITION-X: 7
POSITION-Y: 1


economy-take:
REQUIRED-ITEM: 'gold_ingot'
COMMAND: 'tell: &aYou have been paid 50$; givemoney: 50'
NAME: '&eEconomy & Required item'
LORE:
- 'This command is the opposite of the previous.'
- 'It will take you a gold ingot and give you $50.'
ID: gold ingot
POSITION-X: 8
POSITION-Y: 1


will-not-close:
NAME: '&2Info'
LORE:
- '&7The menu will not close'
- '&7clicking on this item.'
ID: sign
KEEP-OPEN: true
POSITION-X: 9
POSITION-Y: 1


a-talking-head:
COMMAND: 'tell: This is a simple message, without using commands!'
NAME: '&3Tells you something.'
LORE:
- '&7It tells you something without commands.'
ID: head
DATA-VALUE: 3
POSITION-X: 1
POSITION-Y: 2


a-talking-head:
COMMAND: 'tell: This is a simple message, without using commands!'
NAME: '&3Tells you something.'
LORE:
- '&7It tells you something without commands.'
ID: head
DATA-VALUE: 3
POSITION-X: 1
POSITION-Y: 2


test-multiple-command:
COMMAND: 'console: Say Did you know that...; console: say you can run multiple commands?;'
NAME: '&aMultiple commands'
LORE:
- 'Example of multiple commands.'
ID: golden apple
POSITION-X: 2
POSITION-Y: 2


permission:
COMMAND: 'tell: &a[v] You have the correct permission!'
NAME: '&8Permission test'
LORE:
- 'To use this item, you need the'
- 'permission "chestcommands.test".'
- 'Otherwise, a configurable error'
- 'message will be displayed.'
ID: iron bar
POSITION-X: 3
POSITION-Y: 2
PERMISSION: chestcommands.test
PERMISSION-MESSAGE: 'You don''t have the correct permission!'


menu-close-no-commands-no-lore:
NAME: '&6Close the menu'
ID: redstone lamp^M
LORE:
- 'Create an item without command,'
- 'the GUI will just close.'
POSITION-X: 9
POSITION-Y: 3
 

FRmaxFR

Bucheron
16 Juillet 2017
8
0
12
26
Merci de ta réponse mais Chest Commands je crois pas qu'elle a la fonctionnalité de mettre un gui quand on appuie clique droit sur un block placé
 

Detobel36

Créateur de plugins (PhoenixRebirth)
Support
17 Août 2012
10 531
24
2 247
347
28
Bruxelles - Belgique
www.phoenix-rebirth.fr
Salut,

Merci de ta réponse mais Chest Commands je crois pas qu'elle a la fonctionnalité de mettre un gui quand on appuie clique droit sur un block placé
Effectivement, je n'avais pas lu cela...

Cela dit, tu peux très bien utiliser un bouton et un commandblock...
Peux-tu me donner un exemple de ce que tu veux faire ? Tu veux que le joueur clic sur quel block ? Comment va t'il savoir qu'il peut le faire ?


Cordialement,
Detobel36
 

FRmaxFR

Bucheron
16 Juillet 2017
8
0
12
26
Qu'il clique sur un bloc moddé ( distributeur ) et affiche un gui, parce que je fait un serveur rp moddé ducoup ils vont savoir que ce sont les distributeurs qui donnent de l'argent.