GithubHelp home page GithubHelp logo

Comments (7)

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

Hi, unfortunately I cannot conclude anything right now. I personally use LockettePro on my server and there is no problem with it.

First question, can OP player edit signs on your server?

If they still cannot edit it, please provide:

  1. LockettePro's config file
  2. List of other plugin that you are using

from lockettepro.

k-jiang avatar k-jiang commented on July 21, 2024

My OPs can edit signs on my server with no issue.

After several further tests, I found out that this problem only occurs after I have restarted my server. So maybe you need to restart yours as well.

One more thing: the problem is not just editing, but selecting a sign also. All of my moderators cannot select other players' signs even with proper permissions associated with. Unless I Opped them, there is no way for them to select and edit any locks they don't own.

Here is what my config.yml looks like:

# Configuration file
# https://github.com/connection-lost/LockettePro/wiki/*-config.yml
# If there are missing entries, you can add them manually.

language-file-name: lang_zh-cn.yml

enable-quick-protect: true
enable-uuid-support: true
block-interfere-placement: true
block-item-transfer-in: false
block-item-transfer-out: true
block-hopper-minecart: remove
cache-time-seconds: 0
private-signs:
- '[私有]'
- 【私有】
- '[锁]'
- 【锁】
- '[Private]'
- '[private]'
additional-signs:
- '[多人]'
- 【多人】
- '[更多人]'
- 【更多人】
- '[更多]'
- 【更多】
- '[多用户]'
- 【多用户】
- '[More Users]'
- '[more users]'
- '[More]'
- '[more]'
- '[More People]'
- '[more people]'
everyone-signs:
- '[公用]'
- 【公用】
- '[公共]'
- 【公共】
- '[公开]'
- 【公开】
- '[所有人]'
- 【所有人】
- '[Everyone]'
- '[everyone]'
timer-signs:
- '[计时器:@]'
- 【计时器:@】
- '[计时:@]'
- 【计时:@】
- '[定时:@]'
- 【定时:@】
- '[Timer:@]'
- '[timer:@]'
lockables:
- CHEST
- TRAPPED_CHEST
- FURNACE
- BURNING_FURNACE
- HOPPER
- BREWING_STAND
- DIAMOND_BLOCK
- WOODEN_DOOR
- SPRUCE_DOOR
- BIRCH_DOOR
- JUNGLE_DOOR
- ACACIA_DOOR
- DARK_OAK_DOOR
- IRON_DOOR_BLOCK
- FENCE_GATE
- SPRUCE_FENCE_GATE
- BIRCH_FENCE_GATE
- JUNGLE_FENCE_GATE
- DARK_OAK_FENCE_GATE
- ACACIA_FENCE_GATE
protection-exempt:
- nothing

from lockettepro.

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

You mentioned that you "this problem only occurs after I have restarted my server", can you elaborate? Can you make this issue go away somehow?

from lockettepro.

k-jiang avatar k-jiang commented on July 21, 2024

Ok, lets me make it clear:

  • Problem description:
    Admin can not select other player's lock sign by clicking on it after server restarted.

  • To duplicate this problem, you will need:

  1. A player creates a lock sign on a chest.
  2. Restart(reboot) the Spigot server.
  3. An admin or moderator with the permission "lockettepro.admin.edit" can not select the sign by clicking. So there is no way for admin or moderator to edit/modify this sign either.

Note that after step 1, the admin/moderator is somehow able to click and select the sign before server restarted. So you need to restart your test server in order to duplicate this problem.

(If you have any more question, please feel free to ask.)

from lockettepro.

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

I have identified the bug. I had a typo in the plugin. The reason I failed to identify the bug earlier is because I had the same typo on my test server as well.

Before I release the fix, use "lockettepro.edit.admin" instead of "lockettepro.admin.edit" for now.

from lockettepro.

k-jiang avatar k-jiang commented on July 21, 2024

So if that the case... why my admin can edit other player's sign in the first place (before server restart and without proper permission)?

I guess there is another bug which makes lock signs vulnerable from editing by anyone. So you may have to check your code more carefully.

from lockettepro.

k-jiang avatar k-jiang commented on July 21, 2024

Just a reminder: the typo is still not been fixed in version 2.7.0. #30

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.