Forums - Open Redstone Engineers
Semi-Important Glitch - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: School Discussion (https://forum.openredstone.org/forum-51.html)
+--- Thread: Semi-Important Glitch (/thread-7443.html)



Semi-Important Glitch - Timetech - 08-18-2015

As of 8/17/2015, it appears that both Students and Builders can do /give such that you can fill the inventory of ANY player with any item that can be given through /give. Discovered by FCjosh; tested by FCjosh and myself.


RE: Semi-Important Glitch - slugdude - 08-18-2015

/give shouldn't have the perms set so students or builders can use it. This is because of exactly this problem, and there is a bukkit command /i which does the same thing except only works on the user who typed it. The good news is that this is easy to fix, the bad news is that until then, it'll be fucking annoying.

Edit: went ahead and looked for the permission nodes for /give. It's Mojang node is minecraft.command.give and it's bukkit node is bukkit.command.give .


RE: Semi-Important Glitch - Nickster258 - 08-18-2015

The reason it does this is because of FunCommands.

FunCommands if stripped down to its bare minimum is an alias plugin. /give is essential for it to work. /slap [user] fish will "slap" a user with a fish, giving them a fish in their inventory.

I will look into the possibility of disabling that feature on the local level so those who don't like getting slapped and things getting in their inventory don't have to.


RE: Semi-Important Glitch - Chibill - 08-19-2015

Nick I can fix that up while I do a recode on funcommands as its feeling up. And /slap is does not give items. (I forgot about that.) /food fight does but that is thru the plugin code (victim.getInventory().addItem(new ItemStack(Foods[temp])); ) it does not run the command /give.


RE: Semi-Important Glitch - slugdude - 08-19-2015

(08-19-2015, 12:38 AM)Chibill Wrote: Nick I can fix that up while I do a recode on funcommands as its feeling up. And /slap is does not give items. (I forgot about that.) /food fight does but that is thru the plugin code (victim.getInventory().addItem(new ItemStack(Foods[temp])); ) it does not run the command /give.

In that case, it (should) just be a permissions issue...

...hopefully.