CheckItem placeholders #8083
Replies: 2 comments 1 reply
-
Yes, I ran into the same problem, I didn't even know about the existence of "give" and "remove", and used only checking items. It's disappointing that now some of my mechanics are not working because of the blocking of this Placeholder :'( |
Beta Was this translation helpful? Give feedback.
-
I noticed that %checkitem% is banned by CMI due to security issues checkitem can help users greatly enhance the scalability of CMI. I hope this suggestion can be accepted. |
Beta Was this translation helpful? Give feedback.
-
Since CheckItem 2.7.1, the give and remove placeholders were blocked behind a config setting which is set to false by default.
![image](https://private-user-images.githubusercontent.com/45695833/262406899-d5f7a0a2-ed7b-450b-9dbc-dcc5979156dc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MDk1MDQsIm5iZiI6MTczODgwOTIwNCwicGF0aCI6Ii80NTY5NTgzMy8yNjI0MDY4OTktZDVmN2EwYTItZWQ3Yi00NTBiLTlkYmMtZGNjNTk3OTE1NmRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDAyMzMyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjOTE2OGJkYzZmZGVkOGRjYjIyMTU4MDMzNWUyNGFjYTY0NTM4NDk2ZDI2MWU1NmIyNzBkOTFkM2I2OGRjYzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.uTck-_wrIH6J4a6ypd-0psJfOFeBULXTHTX79EvDW1Q)
Though because of CMI's hardblock of the placeholders, it's not possible to use them at all.
Not only does it prevent checkitem placeholders to work (even the normal ones that don't give nor remove items), it also breaks other placeholders, on the same line, though I'm guessing it's intended since you'd expect to remove the checkitem placeholder and it'll work, but it would be nice to check only if the placeholder startswith
%checkitem_remove
or%checkitem_give
.All in all, considering CheckItem added an option have those disabled by default, could the hardblock be removed? Or if you worry that people won't update their expansion, at least add a config option to enable the placeholders.
Beta Was this translation helpful? Give feedback.
All reactions