Code Monkey home page Code Monkey logo

Comments (7)

MairwunNx avatar MairwunNx commented on July 17, 2024

Hi again @DasFantatier! Permissions module have a small logic bug (I know about this bug and do not rush to fix it.) with checking on operator level. Operators list checks on dedicated \ internal server starting. In single player i don't know what it work.

Project Essentials data stores on single player game same like on server. For all single player worlds is one configuration. If you want play with permissions module in single player and you want have all permissions you need add all permissions once.

/perm user <...> set "*" or you can set default group "owner" through configuration. Your problem solved.

Operator level also checked when permissions module not exist. You can remove permissions module in single player (In general, this module is not intended for installation on a single world because it is pointless, but there may be cases when it is necessary.).

If you have only problem with checking permissions even you have op level 4 - create another issue with name Operator level checking incorrectly work on client side..

Also i see what you have problem with localization on server, enable server-localization in config/localization.json and change value to true.

Continue reply on your issue:

Project Essentials all mods uses nickname as player id because most of minecraft forge servers works with disabled online mode. I can't use uuid, because i don't know what may side effects.

UUID uses in project for storing home data and fly \ god player state.

I can add UUID support to permissions module if you need it.

But currently just add your new nickname to permissions configuration, it's worked?

Also please drop permissions.json as file and attach you mojang nickname and latest.log.

from projectessentials-permissions.

DasFantatier avatar DasFantatier commented on July 17, 2024

I changed the value from localization to true now.

And here is the permissions.json
https://pastebin.com/p2yvyckj

and localization.json:
{
"enabled": true,
"fallbackLanguage": "en_us"
}

I can´t send them because this website doesn´t allow 7zip or rar or json files.

I am very sorry to say, but i don´t know how to put my nickname into the file. Do i have to copy the code with "nickname"? Where now is written "server"?
Screen Shot 04-07-20 at 06 08 PM

I don´t need these mods on my single player, i just tested the issue with it because i didn´t want to change anything on the server yet. So I really only need the solution for server.

from projectessentials-permissions.

DasFantatier avatar DasFantatier commented on July 17, 2024

And here is the latest server-log

latest.log

Oh - I just closed the issue by accident :/

from projectessentials-permissions.

MairwunNx avatar MairwunNx commented on July 17, 2024

#server it like an example.

If you need add your name: you need add new object to users array. Don't forget put , before adding new object.

{
    "nickname": "<your name>"
    // next like in `#server` player.
}

Permissions array like users.

"permissions": [
]

With one permissions:

"permissions": [
    "ess.teleport.*"
]

With two permissions:

"permissions": [
    "ess.teleport.*",
    "ess.blablabla"
]

If you don't know json syntax you need read https://www.digitalocean.com/community/tutorials/an-introduction-to-json

Full example:

"users": [
    ... ,
    {
        "nickname": "Das_Fantatier",
        "group": "owner",
        "permissions": []
    }
]

from projectessentials-permissions.

MairwunNx avatar MairwunNx commented on July 17, 2024

Problem solved? @DasFantatier.

from projectessentials-permissions.

DasFantatier avatar DasFantatier commented on July 17, 2024

So - I haven´t changed anything in the permission files because i haven´t found time to read the manual and everything.

The commands are working again now out from nowhere after days.
Thank´s for the support.

from projectessentials-permissions.

MairwunNx avatar MairwunNx commented on July 17, 2024

Is everything okay? If there are problems that you can’t solve, report them. =).

from projectessentials-permissions.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.