r4g3baby / SimpleScore

A simple animated scoreboard plugin for your minecraft server.
https://www.spigotmc.org/resources/simplescore.23243/
MIT License
68 stars 34 forks source link

Restricted scoreboard show after toggling #23

Closed nhanledev closed 2 years ago

nhanledev commented 2 years ago

Description:

What to expect:

My config:

# Default time in ticks for a score to stay on the scoreboard (20 ticks = 1 second)
UpdateTime: 100

# Save which players have the scoreboard disabled
SaveScoreboards: true

# Whether to apply placeholders asynchronously or not
AsyncPlaceholders: true

# Enable this if you are running a 1.13+ server with backwards version support
ForceLegacy: false

# Configure your scoreboards layout
Scoreboards:
  normal_board:
    // board detail
viplv1_board:
    Restricted: true
    // board detail
viplv2_board:
    Restricted: true
    // board detail

# Set what scoreboards each world will be using
Worlds:
  world_lobby: ['viplv2_board', 'viplv1_board', 'normal_board']
  multiple: ['viplv2_board', 'viplv1_board', 'normal_board']
r4g3baby commented 2 years ago

Hey, sorry for the late reply. I tested this using a test server with LuckPerms and SimpleScore and wasn't able to replicate this issue.

The steps I took was to define a world with two scoreboards [ 'restricted scoreboard', 'global scoreboard' ] then joined said world without any permissions besides simplescore.toggle and was shown the global scoreboard, then I ran the /sb toggle command twice and was still shown the correct global scoreboard.

Can you provide a step by step guide on how to reproduce this and/or even a video showing it, thanks.

nhanledev commented 2 years ago

Hello, I did a test again and recognize that was my fault because I set the testing account permission to scoreboard.* I am so sorry for reporting a false bug :( Thank you a lot for the response !!