LuckPerms

LuckPerms

41.4k Downloads

Invalid version in web upload data on Fabric

benwoo1110 opened this issue ยท 2 comments

commented

Description

The version in uploaded web editor data is not correct, causing the editor to not load properly. Seems like its due to the latest commit, I see some changes to how version string works in the plugin code.
image

Editor link: https://luckperms.net/editor/1Z60ETTsW2
Raw data link: https://paste.lucko.me/1Z60ETTsW2

Expected behaviour

version should be the lp version number.

Environment details

  • Server type/version: Fabric 1.17.1
  • LuckPerms version: v5.3.61

(This is based on user from lp discord)

commented

Thanks :)

commented

This issue persists in Luckperms v5.3.64:

fabric.mod.json

{
  "schemaVersion": 1,
  "id": "luckperms",
  "version": "${version}",
  "name": "LuckPerms",
  "icon": "assets/luckperms/icon.png",
  "description": "A permissions plugin (mod)",
  "authors": [
    {
      "name": "Luck",
      "contact": {
        "sources": "https://github.com/lucko",
        "homepage": "https://lucko.me/"
      }
    }
  ],
  "license": "MIT",
  "contact": {
    "homepage": "https://luckperms.net",
    "source": "https://github.com/lucko/LuckPerms",
    "issues": "https://github.com/lucko/LuckPerms/issues"
  },
  "environment": "server",
  "entrypoints": {
    "server": [
      "me.lucko.luckperms.fabric.LPFabricBootstrap"
    ]
  },
  "mixins": [
    "luckperms.mixins.json"
  ],
  "depends": {
    "fabricloader": "\u003e\u003d0.9.0",
    "fabric-api-base": "*",
    "fabric-command-api-v1": "*",
    "fabric-lifecycle-events-v1": "*",
    "fabric-networking-v0": "*",
    "fabric-permissions-api-v0": "*"
  },
  "custom": {
    "modmenu:api": true
  },
  "jars": [
    {
      "file": "META-INF/jars/fabric-permissions-api-0.1-SNAPSHOT.jar"
    }
  ]
}