Plugin Plugin Survival Games + Group manager

ZnS-craft

Aventurier
21 Mars 2013
68
3
3
31
Bonjour à tous,

J'ai un petit soucis avec le plugins Survival Games. Tout fonctionne sauf les permissions... J'ai créé les panneaux sans problème, quand je clique dessus je rejoint l'arène (je suis op).
Mais les joueurs ont un message qui dit qu'ils n'ont pas la permission de le faire.

J'ai également le plugin group manager, c'est dedans que je dois insérer les permissions mais rien ne marche. Le serveur est en 1.5.1.

Avez vous une petite idée pour m'aider ?

Merci beaucoup.
 

ZnS-craft

Aventurier
21 Mars 2013
68
3
3
31
Euh non je n'ai pas vault...
Le fichier config de "Survival games"?

Merci Detobel
 

ZnS-craft

Aventurier
21 Mars 2013
68
3
3
31
Voici le fichié config:
Code:
################################################
# Survival Games #
# #
# Developed by #
# Double0negative #
# #
# #
# [URL]http://mc-sg.org[/URL] #
# voidmc.com #
################################################
 
#Do NOT touch this!
config-version: 3
 
#Enable debug messages
debug: false
 
#Enables the udpdate checker. This will enabled
#anyone with the perm sg.system.updatenotify to
#be notified when a new update is avalible
check-for-updates: true
 
#Set how many players are needed for the game
#to auto-start. Once the player limit is reached
#it will wait for x amount of seconds for
#additional players. Auto start vote means that
#x percent of players need to vote with /sg vote
#for the game to begin
auto-start-players: 20
auto-start-time: 20
auto-start-vote: 75
 
#If the player queue is enabled then if a player
#tries to join a game that is not joinable
#(ie ingame) the player will be added to a
#queue line to join the next time the game
#is open
enable-player-queue: true
 
#If set to true, commands not associated with
#the Survival Games will not be allowed to be run
#by players in-game.
disallow-commands: true
#If disallow-commands is set to true, you can use
#the cmdwhitelist section below to whitelist certain
#commands.
cmdwhitelist:
- 'kit'
 
#Set how long the grace period for be after the start of
#the game in seconds.
grace-period: 20
 
#Controlls if chests should be restocked on the first
#night. If set to true this will also have the side
#effect of setting the world time to day at the start
#of the game. This is only temporary until per-arena time
#has been implemented.
restock-chest: true
 
#Here you can control block placing and breaking.
block:
place:
whitelist:
- 18
- 105
- 31
- 37
- 38
- 50
- 103
- 43
break:
whitelist:
- 18
- 105
- 31
- 37
- 38
- 50
- 103
- 43
 
 
 
 
 
#Settings for when the game nears end. This runs
#when there are only x amount of players
#remaining. If place chest is enabled then
#when the player limit is reached, a chest
#will be placed inside the radius of every
#remain player containing random items for
#that player. If fire-lighting is enabled
#then a lighting strike will be fired at the
#location of each player every x seconds to
#notify the other players of their location
endgame:
players: 3
fire-lighting:
enabled: true
interval: 20
 
 
#If enabled, after x amount of time, each player
#remaing will be teleported to the center of the
#arena for a death match. If they have not been
#killed after killtime, the game will end.
deathmatch:
enabled: false
time: 30
killtime: 5
 
 
#Settings for connecting to and
#SQL server. These settings will
#be used for the online webstats
#Prefix is what all tables used for
#SurvivalGames will be
#prefixed with. This should stay the same
#for most cases.
sql:
host: 'localhost'
port: 3306
user: 'root'
pass: ''
database: 'survivalgames'
prefix: 'sg_'
 
 
 
###########################################################
####################### Stats ############################
###########################################################
 
 
#Settings for the webstats. If enabled, stats
#such as k/d record, wins, win streaks, kill
#streaks, etc. will be saved.
 
 
stats:
enabled: false
webserver:
enabled: false
port: 880
points:
kill: 10
win: 100
position: 7
killstreak:
base: 10
multiplier: 2
killstreak:
level1: '&e{player}&7 got a Double Kill!'
level2: '&e{player}&9 got a Multi Kill!'
level3: '&e{player}&5 got an Ultra Kill!'
level4: '&e{player}&4 got an Unbelievable Kill!'
level5: '&e{player}&a&kii&4&l Unbelievable+!&a&kii'
 

Detobel36

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

Essaye d'installer vault ;)
Et j'aurais voulu ton fichier de permissions (désolé de ne pas avoir précisé).
Met le entre des balises codes, comme ceci:
Code:
[code]Colle ici[/*code] Sans l'étoile


Cordialement,
Detobel36
 

ZnS-craft

Aventurier
21 Mars 2013
68
3
3
31
Sur le site de bukkit concernant les permissions, il y a:

Permissions

  • sg.player.*:
children:
  • sg.player.play
  • sg.player.vote
  • sg.player.spectate
  • sg.player.joinlobby
  • sg.player.sponsor
  • sg.player.listarenas
Voila en gros pour les joueurs. :/

J'ai regardé pour Vault, et cela dit qu'il concerne surtout les plugins de permissions autres que essential group manager non ?

Bref, un peu relou de passer les joueurs "op" pour qu'ils puissent rejoindre et "deop" après m'voyer ^^
 

ZnS-craft

Aventurier
21 Mars 2013
68
3
3
31
Voici mon fichier Groups:

Code:
groups:
  Default:
    default: true
    permissions:
    - -bukkit.command.kill
    inheritance:
    - g:groupmanager_default
    - g:bukkit_default
    - g:essentials_default
    - g:towny_default
    info:
      prefix: '&f Visiteur: '
      build: false
      suffix: ''
  Recrue:
    default: false
    permissions:
    inheritance:
    - default
    - g:essentials_builder
    - g:towny_builder
    info:
      prefix: '&e Recrue: '
      build: true
      suffix: ''
  Citoyen:
    default: false
    permissions:
    inheritance:
    - default
    - g:essentials_builder
    - g:towny_builder
    info:
      prefix: '&e Citoyen: '
      build: true
      suffix: ''
  Moderateur:
    default: false
    permissions:
    - lockette.admin.snoop
    - lockette.admin.break
    inheritance:
    - citoyen
    - g:groupmanager_moderator
    - g:bukkit_moderator
    - g:essentials_moderator
    - g:towny_moderator
    - g:vanish_moderator
    info:
      prefix: '&a Moderateur: '
      build: true
      suffix: ''
  Administrateur:
    default: false
    permissions: []
    inheritance:
    - moderateur
    - g:groupmanager_admin
    - g:bukkit_admin
    - g:essentials_admin
    - g:towny_admin
    - g:vanish_admin
    info:
      prefix: '&4 Administrateur: '
      build: true
      suffix: ''
  Fondateur:
    default: false
    permissions:
    - '*'
    - -vanish.*
    inheritance:
    - administrateur
    info:
      prefix: '&b Fondateur: '
      build: true
      suffix: ''

Voila :)
 

Detobel36

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

Vault est parfois nécessaire pour le bon fonctionnement de certain plugin... Je te conseil de l'installer.
Il y a plusieurs erreurs dans ton fichier...
- Lorsqu'il n'y a rien après permissions (ou après inheritance), tu doit mettre des []
- Rajoute la permission sg.player.* pour les groupes qui sont autorisé a utiliser le plugin... (Par exemple pour le groupe Default)


Cordialement,
Detobel36
 

ZnS-craft

Aventurier
21 Mars 2013
68
3
3
31
En gros cela donne ça quand j'essaie et que ça ne marche pas:

Code:
Citoyen:
    default: false
    permissions:
    - sg.player.play
    - sg.player.vote
    - sg.player.spectate
    - sg.player.joinlobby
    - sg.player.sponsor
    -sg.player.listarenas
    inheritance:
    - default
    - g:essentials_builder
    - g:towny_builder
    info:
      prefix: '&e Citoyen: '
      build: true
      suffix: ''