Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jail whitelist command does not work #8966

Closed
3 tasks done
DaJMaN4 opened this issue Jul 21, 2024 · 2 comments
Closed
3 tasks done

Jail whitelist command does not work #8966

DaJMaN4 opened this issue Jul 21, 2024 · 2 comments
Labels
bug report Reports of bugs/inconsistencies

Comments

@DaJMaN4
Copy link

DaJMaN4 commented Jul 21, 2024

Description of Issue

Jail whitelist command does not work, I whitelisted command /helpop and players cannot use it while being jailed.

Version Information

[15:17:28 INFO]: CMI: 9.7.4.7 SqLite
[15:17:28 INFO]: CMILib: 1.5.0.9 
[15:17:28 INFO]: Serwer: Purpur(2176) 1.20.4-R0.1-SNAPSHOT-
[15:17:28 INFO]: CMI ekonomia: Włączone Skrytka: 1.7.3-CMI CMI Chat: Wyłączone 
[15:17:28 INFO]: Moduły -> 53 aktywne 13 nieaktywne: hpBossBar, customMessages, tablist, holograms, playerChatTag, deathMessages, worldLimitsElytra, worldLimits, selection, votifier, cooldown, headDrop, vanish

Errors

None

Relevant Config Sections

Jail:
  # Defines in milliseconds how often to check if player leaves jail area
  # Bigger numbers can help slightly lower server load
  CheckInterval: 800
  # Defines default jail time when time is not povided with command
  DefaultTime: 300
  # Chat range in blocks while player is in jail
  # Set to 0 to allow talking
  # set to -1 to prevent talking in general while jailed
  ChatRange: -1
  # When set to true jail time will decreese while player is offline
  # When set to false jail time will only be counted while player is online
  CountWhileOffline: false
  # When set to true jail time will not decreese if player gets into afk mode while being jailed
  # When set to false, time will pass normally
  NoAfk: false
  # Do you want to prevent players damage while he is in jail
  PreventDamage: true
  # Do you want to prevent players hunger while he is in jail
  PreventHunger: true
  Commands:
    # Commands to be performed when player gets jailed
    OnJail:
    - ''
    # Commands to be performed when player gets unjailed
    OnUnJail:
    - ''
  WhiteListedCmds:
  - helpop

Relevant Plugins

No response

Agreements

  • My server is supported by CMI.
  • My version of CMI at the time of this report is up to date.
  • I have searched the github and asked around before making this report.
@DaJMaN4 DaJMaN4 added the bug report Reports of bugs/inconsistencies label Jul 21, 2024
@Zrips
Copy link
Owner

Zrips commented Jul 25, 2024

Due to how CMI alias works you should use full command name and not its shortened alias. So in your case just use - cmi helpop

@Zrips Zrips closed this as completed Jul 25, 2024
@DaJMaN4
Copy link
Author

DaJMaN4 commented Jul 27, 2024

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Reports of bugs/inconsistencies
Projects
None yet
Development

No branches or pull requests

2 participants