Résolu Worldguard et customflag

  • Auteur de la discussion Auteur de la discussion crachh
  • Date de début Date de début

crachh

Le fail ? Bien plus qu'une façons de vivre.
30 Septembre 2013
130
5
130
33
Derrière toi
arktesya-serveur.forumactif.org
Bonjour je viens à vous en ce jour pour un soucie avec le plugin worldguard (encore). Mon serveur garde les inventaire à la mort d'un joueur. Et nous crée actuellement une zone de mini jeu, pour certain il faut que le joueur drop sont inventaire à la mort. J'ai demander à notre amis google et celui-ci m'a répondus "Hey pour worldguard il existe une extension et pour cette extension un autre. Cette extension et custom flag et flag keep-inventory." Moi étant un anglophope quand toute une page et devant moi j'ai essaye de traduire comme je le pouvais. J'ai instaler les deux extension dans la partie plugin du serveur. Quand je fait le /pl il m'indique qu'il sont bien instaler.

Donc je vais dans la zone et je test l’extension et ... celui-ci ne fonctionne pas. Nous avons fait allow apres deny ensuite none et nous avons gardés nos inventaires dans toute les commandes. Après nous nous somme dit que le gamerule keepinventory était peut être la cause de nos ennuies. Nous l'avons enlevez et nous avons encore tester les commandes dans la zone et dans le __global__ mais toujours rien vus que nous avions enlevez le keepinventory cette fois si à chaque fois l’inventaire était perdus.

Est-ce quelqu'un aurais la solution ?
 
Dernière édition:
Salut,

Quand je fait le /pl il m'indique qu'il sont bien instaler.
Le /pl t'informe juste qu'il sont bien lancé. C'est pas pour ça que tout fonctionne ;) Tes logs par contre eux te disent tout...

Pour que ce que tu veux fonctionne tu dois bien mettre le keepInventory à false (car c'est une règle qui passera au dessus de tous tes plugins (sauf exceptions)).
As-tu des erreurs dans tes logs ?

Pour récapitulé, tu as mise le keepInventory à true pour la région __global__ et à false dans la région PVP ?
Si tu met keepInventory à true pour une petite région est-ce que cela fonctionne ?


Cordialement,
Detobel36
 
Non le flag ne fonctionne pas. Et j'ai pas eu le reflex de regarder mes log et effectivement il y à un soucie
Code:
Server thread/ERROR]: Error occurred while enabling WGCustomFlags v1.7 (Is it up to date?)
java.lang.NoSuchFieldError: useSqlDatabase
    at com.mewin.WGCustomFlags.WGCustomFlagsPlugin.onEnable(WGCustomFlagsPlugin.java:164) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
[19:06:08] [Server thread/INFO]: [WGKeepInventoryFlags] Enabling WGKeepInventoryFlags v0.3.1
[19:06:08] [Server thread/INFO]: Added custom flag "keep-inventory" to WorldGuard.
[19:06:08] [Server thread/ERROR]: Error occurred while enabling WGKeepInventoryFlags v0.3.1 (Is it up to date?)
java.lang.NullPointerException
    at com.mewin.WGCustomFlags.WGCustomFlagsPlugin.getSaveHandler(WGCustomFlagsPlugin.java:296) ~[?:?]
    at com.mewin.WGCustomFlags.WGCustomFlagsPlugin.loadFlagsForWorld(WGCustomFlagsPlugin.java:220) ~[?:?]
    at com.mewin.WGCustomFlags.WGCustomFlagsPlugin.loadAllWorlds(WGCustomFlagsPlugin.java:208) ~[?:?]
    at com.mewin.WGCustomFlags.FlagManager.addCustomFlag(FlagManager.java:79) ~[?:?]
    at com.mewin.WGCustomFlags.WGCustomFlagsPlugin.addCustomFlag(WGCustomFlagsPlugin.java:273) ~[?:?]
    at com.mewin.WGKeepInvFlags.WGKeepInventoryFlagsPlugin.onEnable(WGKeepInventoryFlagsPlugin.java:72) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigotmc-1.8.8-R0.1.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]

Donc moi qui n'y comprend rien, je pense qu'il me dit que ce n'est pas la bonne version sauf que j'ai les dernière version pour les trois...
 
Salut,

Alors la tu me pose une colle je sais pas si j'ai un base sql et si j'en ai une je sais pas ou la trouver. C'est pas les hébergeur qui gère ce genre de choses ?
C'est ton hébergeur qui gère la base de donnée mais c'est pas ton hébergeur qui configure ton plugin pour qu'il utilise sql ;)
Sans config, je ne sais pas t'aider (n'oublies pas de supprimer le mot de passe quand même :D ).


Cordialement,
Detobel36
 
Code:
egions:
    use-scheduler: true
    uuid-migration:
        perform-on-next-start: false
        keep-names-that-lack-uuids: true
    use-creature-spawn-event: true
    sql:
        use: false
        dsn: jdbc:mysql://localhost/worldguard
        username: worldguard
        password: worldguard
        table-prefix: ''
    enable: true
    invincibility-removes-mobs: false
    fake-player-build-override: true
    explosion-flags-block-entity-damage: true
    high-frequency-flags: false
    protect-against-liquid-flow: false
    wand: 334
    max-claim-volume: 30000
    claim-only-inside-existing-regions: false
    max-region-count-per-player:
        default: 7
auto-invincible: false
auto-invincible-group: false
auto-no-drowning-group: false
use-player-move-event: true
use-player-teleports: true
security:
    deop-everyone-on-join: false
    block-in-game-op-command: false
host-keys: {}
summary-on-start: true
op-permissions: true
build-permission-nodes:
    enable: false
    deny-message: '&eSorry, but you are not permitted to do that here.'
event-handling:
    block-entity-spawns-with-untraceable-cause: false
    interaction-whitelist: []
    emit-block-use-at-feet: []
protection:
    item-durability: true
    remove-infinite-stacks: false
    disable-xp-orb-drops: false
    disable-obsidian-generators: false
gameplay:
    block-potions: []
    block-potions-overly-reliably: false
simulation:
    sponge:
        enable: false
        radius: 3
        redstone: false
default:
    pumpkin-scuba: false
    disable-health-regain: false
physics:
    no-physics-gravel: false
    no-physics-sand: false
    vine-like-rope-ladders: false
    allow-portal-anywhere: false
    disable-water-damage-blocks: []
ignition:
    block-tnt: true
    block-tnt-block-damage: true
    block-lighter: false
fire:
    disable-lava-fire-spread: true
    disable-all-fire-spread: false
    disable-fire-spread-blocks: [false]
    lava-spread-blocks: []
mobs:
    block-creeper-explosions: false
    block-creeper-block-damage: true
    block-wither-explosions: true
    block-wither-block-damage: true
    block-wither-skull-explosions: false
    block-wither-skull-block-damage: true
    block-enderdragon-block-damage: false
    block-enderdragon-portal-creation: false
    block-fireball-explosions: false
    block-fireball-block-damage: false
    anti-wolf-dumbness: false
    allow-tamed-spawns: true
    disable-enderman-griefing: false
    disable-snowman-trails: false
    block-painting-destroy: false
    block-item-frame-destroy: false
    block-plugin-spawning: true
    block-above-ground-slimes: false
    block-other-explosions: false
    block-zombie-door-destruction: false
    block-creature-spawn: []
player-damage:
    disable-fall-damage: false
    disable-lava-damage: false
    disable-fire-damage: false
    disable-lightning-damage: false
    disable-drowning-damage: false
    disable-suffocation-damage: false
    disable-contact-damage: false
    teleport-on-suffocation: false
    disable-void-damage: false
    teleport-on-void-falling: false
    disable-explosion-damage: false
    disable-mob-damage: false
    disable-death-messages: false
chest-protection:
    enable: false
    disable-off-check: false
crops:
    disable-creature-trampling: false
    disable-player-trampling: false
weather:
    prevent-lightning-strike-blocks: []
    disable-lightning-strike-fire: false
    disable-thunderstorm: false
    disable-weather: false
    disable-pig-zombification: false
    disable-powered-creepers: false
    always-raining: false
    always-thundering: false
dynamics:
    disable-mushroom-spread: false
    disable-ice-melting: false
    disable-snow-melting: false
    disable-snow-formation: false
    disable-ice-formation: false
    disable-leaf-decay: false
    disable-grass-growth: false
    disable-mycelium-spread: false
    disable-vine-growth: false
    disable-soil-dehydration: false
    snow-fall-blocks: []
blacklist:
    use-as-whitelist: false
    logging:
        console:
            enable: true
        database:
            enable: false
            dsn: jdbc:mysql://localhost:3306/minecraft
            user: root
            pass: ''
            table: blacklist_events
        file:
            enable: false
            path: worldguard/logs/%Y-%m-%d.log
            open-files: 10

Par contre je trouve pas la configuration pour les extensions.