GithubHelp home page GithubHelp logo

Comments (19)

connection-lost avatar connection-lost commented on July 21, 2024

Sounds like worldguard support is broken? The symptom is, user cannot use the chest in a worldguard region regardless they have the permission?
I will look into that.

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

thank you, and yes. that /was/ the symptom....

i have tried further looking into the issue from my perspective, having limited understanding of how the code itself is written, but i seem to have set higher priority for worldguard using the permissionsex which inturn made /me/ able to lock things again. which i believe inherently means its a permissions issue. so i granted all permissions of worldguard building to people so now they can build on their own land.. however, they cant use lockette on the land, but i can.. however, they can use lockette everywhere outside of the worldguard guarded city.

by default, lockette "just worked" when i installed it. forcing worldguard to look at permissionsex [which isn't default behaviour] seemed to work for the most part on fixing any other problems i might have had. but i wonder now if since worldguard is checking all permissions now, on guarded land, that its now enforcing the need for permissions from lockette to be assigned from default. i know that'd be a weird behaviour, but its the only thing i can think of other than the two just being incompatable. which is weird, because theres so much on using the two together. just nothing on this specific issue.

anyway, i've JUST NOW given default users the perms for lockette.user.create.* which, again, is something i didn't have to do by default. will have to wait for a non-op user to come into town, but i will say if this solved the issue or not.

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

giving permissions did not work. i guess i was wrong in thinking that. however players have all rights to build/remove/use/destroy entities/breakstuff via worldguard on lockette it just says i need to give them the break permissions. well, they have that so i'm not sure what i'm doing wrong at this point.

from lockettepro.

connection-lost avatar connection-lost commented on July 21, 2024

Sorry I was not able to reproduce this issue. Here are the steps that I used, please tell me if I missed anything:

  1. Player A has OP and player B is a normal player. Player B does not have any permission.
  2. Player A defines an area "X" (/region define X). Player B cannot build inside, neither can he use any chests or lock them.
  3. Player A give everyone build permission to region X (/region flag X build allow). B can now lock chest by either using quick lock or manual lock.
  4. Revert step 3. Player A set player B as the owner of region X (/region addowner X B). B can now lock chest by either using quick lock or manual lock.

Tested on (LockettePro 2.8.1, MC 1.12, WorldGuard 6.2.1) and (LockettePro 2.8.0, MC 1.11.2, WorldGuard 6.1.3). I can test it on more versions but here are the servers that I can test on right now.

from lockettepro.

connection-lost avatar connection-lost commented on July 21, 2024

Enforcing LockettePro's permission on WorldGuard's land (or any guarded land) is mandatory. If not, a malicious player with interact access but without build access can place lock signs on the chest.

from lockettepro.

connection-lost avatar connection-lost commented on July 21, 2024

But I have a better idea. Most incompatibilities caused by things like this will be fixed if I do #47.

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

ok. i'm going to try adding that flag you said. (i litterally added permissions from permissionsex. never actually added any flags to any regions.)

from lockettepro.

connection-lost avatar connection-lost commented on July 21, 2024

Can you tell me what exactly did you do? If possible can you answer like "/pex group xxx xxx" or paste some permission.yml content?

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

on curses website it says version 2.4.1 is most updated build. how do i get this version 2.8.0?

edit: bukkit also gives me the same exact version which is 2.4.1

from lockettepro.

connection-lost avatar connection-lost commented on July 21, 2024

...
I haven't been update at bukkit side for a long time, try spigot: https://www.spigotmc.org/resources/lockettepro-uuid-support.20427/

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

i assume now my version is out of date though, unless your 2.8.0 was a typo. i'm not sure how to give the latest version. if that's the case, then theres no issue, just a lack of me not being able to clearly find the files i need to

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

alright, updated version is installed. i will have to wait for a player to come on an help me test if they can lock the chest, then i can close this issue and appologise for being dumb, as i thought both of those websites were the current version

from lockettepro.

connection-lost avatar connection-lost commented on July 21, 2024

Sorry for not updating Bukkit's page. I have put a link on BukkitDev to redirect to Spigot :(

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

ok. did not work. steps to reproduce: have a world with worldguard 6.2 worldedit 6.1.5 and lockettepro 2.8.0.

player A is op. player B is normal.

/define region X [player A can lock chests, B cannot.]
set the owner of region to player B. [player A can lock chests and all that, player B can build and do everything except lock chests.]
set flag build to allow on region. [nothing changes]

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

however, for your post:

Can you tell me what exactly did you do? If possible can you answer like "/pex group xxx xxx" or paste some permission.yml content?

i will post some content.

this is what i did.
[selected region with wooden axe] /rg define X
/rg addowner B
/rg flag X build allow

pex-wise:
/pex user B group add default [player was added to default group]

default:
options:
default: 'true'
rank: '1000'
permissions:
- lockette.user.create.* [permissions needed for your plugin]
- worldguard.build.* [default build permissions to build in regions you own]
- essentials.rules
- essentials.help [rules and help.. build perms just thrown in there to make sure i have it covered]
- essentials.build.*
- modifyworld.* [default "you need this to build anywhere in a pex enabled server" permissions.]
Admin:
permissions:
- '' [all perms because admin.]
- permissions.

all messages in [] were obviously added after i pasted here and are not part of the permissions file.
also apparently the asterisks in the admin section get treated as an italics modifier for some reason, but they are there and it works.

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

i gave someone permissions for lockettepro.* and worldguard.* and still nothing. so may be something with essentials or worldedit.

from lockettepro.

connection-lost avatar connection-lost commented on July 21, 2024

Sorry for late reply. Unfortunately I have something to do IRL recently so I cannot do a lot of updates in a few days.

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

ok so after some testing the litteral only person who can do it is me. even if someone else has the same exact "all everything" permissions. at this point i'm just confused.

edit: adding them to be region owner changes nothing. i have litterally zero idea how i am special compaired to someone with exact same all everything admin via PEX plus OP plus they own the region. yet only i can do it. they cannot.

from lockettepro.

Mrs-Feathers avatar Mrs-Feathers commented on July 21, 2024

well, i updated the server to 1.12 and it started working with out me changing anything except the spigot jar... leading me to believe it was an issue with the code itself and its interaction with that version of minecraft. the few other mods i have in all are tested and working. as i said, i changed nothing but everything works now. so, idk what to say. thanks for your help though.

from lockettepro.

Related Issues (20)

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.