#Is there a way to limit the amount you can spawn in with /i?
21 messages · Page 1 of 1 (latest)
put a cooldown on the permission
Without a plugin, you cannot limit how many items / what items you cannot spawn in
Do you know of a plugin that is already created for this?
Don't think there is any. You would need to commission one
Not to sure how regex will help in your situation but ok
it's a chat message/command
You just look for /i <word> <number over 100> and then block it
unless I can pull the 2nd argument specifically, i'd have to check
then I could just look for /i and then check if the 2nd argument is >100
command[1] would pull the second argument
Hey @icy frost, Do you want to limit how many items a player can spawn with /i at once?
/i <item> "Limit this: <amount>"?
ah cool. yeah I'll do that then
Yep
There is indeed a way to do this without any plugins.
Oh cool, how so?
Open the File Manager where your server is located and follow this path: Servers > "YourServer" > Rocket > Rocket.Unturned.config.xml.
<EnableItemSpawnLimit>true</EnableItemSpawnLimit>
<MaxSpawnAmount>20</MaxSpawnAmount>
Thank you so much! 😄