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

cmi.command.ctext.[ctextname] Does not work #8886

Closed
3 tasks done
TomLewis opened this issue Jul 1, 2024 · 4 comments
Closed
3 tasks done

cmi.command.ctext.[ctextname] Does not work #8886

TomLewis opened this issue Jul 1, 2024 · 4 comments
Labels
bug report Reports of bugs/inconsistencies

Comments

@TomLewis
Copy link

TomLewis commented Jul 1, 2024

Description of Issue

All my players can /ctext and see all ctext, even the staff ones, its fine they can see 95% of the ctext, but there are some staff ctext they need to not be able to use with /ctext or /openbook.

I even tried /lp verbose to see if the permission had changed, but there is no permission check at all for it when the player runs the command.

Version Information

[23:22:15] [Render thread/INFO]: [CHAT] --------------------------------------------------
[23:22:15] [Render thread/INFO]: [CHAT] CMI: 9.7.4.1 Velocity CMIB  MySQL
[23:22:15] [Render thread/INFO]: [CHAT] CMILib: 1.5.0.2 -> 1.5.0.4
[23:22:15] [Render thread/INFO]: [CHAT] Server: Purpur(1632) 1.18.2-R0.1-SNAPSHOT-
[23:22:15] [Render thread/INFO]: [CHAT] CMI economy: Disabled Vault: 1.7.3-b131 CMI Chat: Disabled 
[23:22:15] [Render thread/INFO]: [CHAT] Modules -> 44 enabled 22 disabled: spawnerProximity, hpBossBar, customMessages, mirror, tablist, moneyCheque, skin, anvilRenameColor, noTarget, elytraBoost, dynamicSigns, playerChatTag, elytraLaunch, flightCharge, disabledEnchants, worldLimits, chatBubble, votifier, shulkerBackpack, attachedCommands, namePlates, homeInteractions
[23:22:15] [Render thread/INFO]: [CHAT] --------------------------------------------------

Errors

No response

Relevant Config Sections

No response

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.
@TomLewis TomLewis added the bug report Reports of bugs/inconsistencies label Jul 1, 2024
@Zrips
Copy link
Owner

Zrips commented Jul 3, 2024

Have you enabled permission requirement? Its third option in editctext
image
just toggle from [-] to [+] for the ones you want to request specific permissions for users to be able to see/use them

@TomLewis
Copy link
Author

TomLewis commented Jul 4, 2024

I have not, I edit all my files via the .txt files, does this add something to the file? is so can it please be added to the docs!
All I see is the no permisson placeholder!
https://www.zrips.net/cmi/custom-text/

ive read over that page about 20 times now and was getting so frustrated why I couldnt see anything permission based on there!

Edit: it works! Thank god it was a docs issue and not technical! Ive spent, way way to long on this.

ALso just seen I can make a custom alias auto, like 90% of my alias are just to point to ctexts lol

Edit Edit: for anyone else finding this, not in the docs you can add <ReqPermission> to require permissions just after <AutoPage>.

@Zrips
Copy link
Owner

Zrips commented Jul 4, 2024

Will add missing ones to docs, just for convenience, tho I would still recommend to just use ingame editor as that one will prevent issues from happening and will provide with all the options you can use.

@Zrips Zrips closed this as completed Jul 4, 2024
@TomLewis
Copy link
Author

TomLewis commented Jul 4, 2024

Thanks for the easy fix!

I do all my holograms in-game, and portals, kits. But ctext is a differnt ballgame, I have a mamouth of guides and ive moved basically everything I can to do with text into ctext, so having a full editor is MUCH better, I even seperated it from CMI so its got its own Github, so other staff can work on updating guides and I can push/pull as needed, if we started editing in-game that means I then need to commit changes and push those up stream, bleh extra work!

One thing that is missing is a folder structure, shame we cant have ./staff/guide1.txt

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