Configuration  Plugin Problème avec PWI

Discussion dans 'Support serveur et plugins' créé par Livegogo, 16 Mai 2019.

  1. Livegogo

    Livegogo Tondeur de moutons

    Inscrit:
    16 Mars 2018
    Messages:
    31
    J'aime reçus:
    2
    Bonjour ! J'ai un gros problème :
    Je viens d'installer le plugin PerWorldInventory et quand je config les groupe de monde (que ce soit dans la config ou in-game), bah ca marche pas ^^ ! J'aimerais savoir pourquoi (sachant qu'il n'y as pas de message dans la console) ! Voici le world.yml et le config.yml plus bas ! Merci d'avance !
    World.yml:
    # # In this file you define your groups and the worlds in them.
    # # Follow this format:
    # # groups:
    # # default:
    # # worlds:
    # # - world
    # # - world_nether
    # # - world_the_end
    # # default-gamemode: SURVIVAL
    # # creative:
    # # worlds:
    # # - creative
    # # default-gamemode: CREATIVE
    # #
    # # 'default' and 'creative' are the names of the groups
    # # worlds: is a list of all worlds in the group
    # # If you have 'manage-gamemodes' set to true in the main config, the server
    # # will use the 'default-gamemode' here to know what gamemode to put users in.
    groups:
    askyblock:
    worlds:
    - hubsky
    - Build
    - ASkyBlock
    default-gamemode: SURVIVAL
    pvp:
    worlds:
    - PvP
    default-gamemode: SURVIVAL

    Config.yml
    ##########################################
    # PerWorldInventory configuration file #
    ##########################################

    # If true, the server will change player's gamemodes when entering a world
    # The gamemode set is configured in the worlds.yml file
    manage-gamemodes: false

    # If true, players will have different inventories for each gamemode
    separate-gamemode-inventories: true

    # If true, any worlds that are not in the worlds.yml configuration file will share the same inventory
    share-if-unconfigured: false

    # True if PWI should set the respawn world when a player dies
    manage-death-respawn: false

    # Disables the nagging message when a world is created on the fly
    # Intended for users who know what their doing, and don't need to have worlds configured
    disable-nag-message: false

    metrics:
    # Choose whether or not to enable metrics sending.
    # See https://bstats.org/getting-started for details.
    enable: true
    # Send the number of configured groups.
    # No group names will be sent!
    send-number-of-groups: true
    # Send the total number of worlds on the server.
    send-number-of-worlds: true

    # All settings for players are here:
    player:
    # Save and Load players' economy balances. Requires Vault!
    economy: true
    # Load players' ender chests
    ender-chest: true
    # Load players' inventory
    inventory: true
    # All options for player stats are here:
    stats:
    # Load if a player is able to fly
    can-fly: true
    # Load the player's display name
    display-name: false
    # Load a player's exhaustion level
    exhaustion: true
    # Load how much exp a player has
    exp: true
    # Load a player's hunger level
    food: true
    # Load if a player is flying
    flying: true
    # Load how much health a player has
    health: true
    # Load what level the player is
    level: true
    # Load all the potion effects of the player
    potion-effects: true
    # Load the saturation level of the player
    saturation: true
    # Load a player's fall distance
    fall-distance: true
    # Load the fire ticks a player has
    fire-ticks: true
    # Load the maximum amount of air a player can have
    max-air: true
    # Load the current remaining air a player has
    remaining-air: true

    # Attempt to figure out which world a player last logged off in
    # and save/load the correct data if that world is different.
    # REQUIRES MC 1.9.2 OR NEWER
    load-data-on-join: true

    # Set the level of debug messages shown by PWI.
    # INFO: Print general messages
    # FINE: Print more detailed messages about what the plugin is doing
    # DEBUG: Print detailed messages about everything
    logging-level: 'INFO'

    # Disables bypass regardless of permission
    # Defaults to false
    disable-bypass: false

    # Set the duration in minutes for player profile information to be cached
    cache-duration: 10

    # Set the maximum number of player profiles that can be cached at any given time
    cache-maximum-limit: 1000
     
  2. Detobel36

    Detobel36 Créateur de plugins (PhoenixRebirth)
    Support

    Inscrit:
    17 Août 2012
    Messages:
    9 143
    J'aime reçus:
    1 935
    Salut,

    Même pas un message qui indique que le plugin est bien lancé ?

    Pour ta configuration, le mieux c'est d'utiliser les balises codes (comme expliqué ici: https://minecraft.fr/forum/threads/trucs-pour-résoudre-un-problème.77248/ ). Mais c'est déjà cool de l'avoir mis dans une autre couleur ;)
    Le soucis c'est que du coup on ne voit pas l'alignement... Celui-ci est pourtant très important !
    Voici l'exemple disponible sur leur wiki: https://github.com/EbonJaeger/perworldinventory-kt/wiki/Configuration
    Code:
    groups:
      default:
       worlds:
       - world
       - world_nether
       - world_the_end
       default-gamemode: SURVIVAL
       respawnWorld: world
    Ce qui, appliqué à ta configuration donne:
    Code:
    groups:
      askyblock:
        worlds:
        - hubsky
        - Build
        - ASkyBlock
        default-gamemode: SURVIVAL
      pvp:
        worlds:
        - PvP
        default-gamemode: SURVIVAL
    A noter que ce sont bien des espaces et non des tabulations (ça aussi c'est important) ;)


    Cordialement,
    Detobel36
     
  3. Livegogo

    Livegogo Tondeur de moutons

    Inscrit:
    16 Mars 2018
    Messages:
    31
    J'aime reçus:
    2
    Re ! J'ai essayer ta config pour le worlds.yml mais il y as un message qui ce répète toujours dans la console :
    "Error: null" en rouge !!!
     
  4. Alex Fatta

    Alex Fatta Commandant de la Flotte et de la Horde

    Inscrit:
    13 Août 2014
    Messages:
    1 271
    J'aime reçus:
    169
    Bonjour !

    As-tu simplement copier/coller ce que le VDD a mis ou as-tu pensé a changer le nom en fonction de tes mondes ?

    AlexFatta
     
  5. Detobel36

    Detobel36 Créateur de plugins (PhoenixRebirth)
    Support

    Inscrit:
    17 Août 2012
    Messages:
    9 143
    J'aime reçus:
    1 935
    Salut,

    Ce serait bien de donner plus d'informations...
    Je suis sûr qu'il y a d'autres erreurs au démarrage.


    Cordialement,
    Detobel36
     

Partager cette page