genboy / Festival

Custom events plugin for Pocketmine
https://genboy.net/minecraft/festival/
Other
39 stars 15 forks source link

Level management seems ignored #283

Closed benda95280 closed 3 years ago

benda95280 commented 4 years ago

Dear,

I'm sorry to open an issue for that, but i'm not able to get my problem sorted. PMMP Version: 3.12 / Festival Poggit Ver 116

Without Festival, on worlds, player cannot fly and have fall damage. When activated, player can fly and do not have fall damage.

Please find below configuration files : Level :

{
        "desc": "Festival Level mine",
        "flags": {
            "animals": false,
            "cmd": false,
            "drop": false,
            "edit": false,
            "effect": false,
            "explode": false,
            "fall": false,
            "fire": false,
            "flight": false,
            "hunger": false,
            "hurt": false,
            "mobs": false,
            "msg": true,
            "pass": false,
            "perms": false,
            "pvp": false,
            "shoot": false,
            "tnt": false,
            "touch": false
        },
        "name": "mine",
        "options": {
            "areatitledisplay": "on",
            "autowhitelist": "off",
            "compass": "off",
            "flightcontrol": "on",
            "itemid": 201,
            "lang": "en",
            "levelcontrol": "off",
            "msgdisplay": "op",
            "msgposition": "tip"
        }
    }

Config :

{
    "defaults": {
        "animals": false,
        "cmd": false,
        "drop": false,
        "edit": true,
        "effect": false,
        "explode": true,
        "fall": false,
        "fire": false,
        "flight": false,
        "hunger": false,
        "hurt": false,
        "mobs": false,
        "msg": false,
        "pass": false,
        "perms": false,
        "pvp": false,
        "shoot": false,
        "tnt": true,
        "touch": false
    },
    "options": {
        "areatitledisplay": "on",
        "autowhitelist": "off",
        "compass": "off",
        "flightcontrol": "on",
        "itemid": "201",
        "lang": "fr",
        "levelcontrol": "off",
        "msgdisplay": "op",
        "msgposition": "tip"
    }
}

Thanks

genboy commented 4 years ago

Hi @benda95280, could you try in the configuration options set "flightcontrol": "off". This way Festival does not touch the flight-functions in levels (without the code on _damage adjustments).

genboy commented 3 years ago

Long time nog response, i hope all worked out well. See the Festival Dev update for latest debugged version. Thank you for sharing your experience.