Players spawning many helis via console commandFixed
hello

today ive experienced a player(s) having the ability to spawn in a huge amount of minis in one go. apparently they can run for console command, spawnminicopter and be able to spawn as many as they like in one go?!
 

 

 

That command requires a permission, so they wouldn't be able to unless you granted them that permission
[ConsoleCommand("spawnminicopter"), Permission("myminicopter.admin")]​

Just had the server filled with minicopters as well. Not sure if it was a plugin falure or a dodgey player causing it. All players started spawning minicopters until the server overloaded.

Will do some more investigations here, either plugin issue or player found a glitch to spawn minicopters on mass

Never seen this before

Check if they have the permission:
  • oxide.show group default
  • oxide.show perm myminicopter.admin
If so, revoke it.

Permission 'myminicopter.admin' Groups:

No groups with this permission



Merged post

happened again. This is very strange.
Have you logged and verified what command is being ran? I see no issue with the console command in this plugin, other than the permission is being registered twice; but that shouldn't matter for the actual permission check.

I do see one potential issue with the /gmini chat command, where it expects BOTH .spawn and .fetch permissions, otherwise it may let you spawn/fetch if you only have one.
I am thinking it is a glitch someone has found to break servers running that plugin.

Merged post

I will try changing that /gmini command to see if it stops.

I am not sure how they are making it happen yet but it is all players that spawn the minicopters



Merged post

When I investigated the command /gmini I didn't find it, then looked at my version and it was old.

Maybe there was an exploit or bug that only surfaced today in that very old version

 

(15:33:31) | Unloaded plugin My Mini Copter v0.0.3 by BuzZ[PHOQUE]

(15:33:31) | Loaded plugin My Mini Copter v0.0.9 by RFC1920

 

Yes, there was an exploit in 0.0.3. Always check for an update before reporting an issue. ;)

The issue is mentioned in the changelog of version 0.0.4.

Just strange how it happened 1st time today and wdxdangermouse had it too.

Sorry, I normally do check versions before reporting, I just jumped in with eyes closed.



Merged post

Just did it again with the updated plugin.

The common player each time just before it happened was this player and his chat indicates he was the possible cause.
wdxdangermouse, was he on your server too?

https://steamcommunity.com/id/bsdinis/



Merged post

he also typed this in chat just after the issue happened again.

(18:19:00) | [NoGreen] bsdinis: the admin spawned next to me and then started spawning helis

There are no admins in game...



Merged post

he was on this server this morning: 

LucidSandbox [CREATIVE|BUILD|FLY/NOCLIP|MINICOPTER|F1]

wdxdangermouse is that your server?

He was also on other servers as per this list:
https://www.battlemetrics.com/players/1138416



Merged post

All minicopter servers and all for short periods of time.
@rfc1920, there is no Permission attribute with the ConsoleCommand attribute, only for the universal Command one. So the admin check there wouldn't be working.

For those having issues, you can remove lines 345-370 for now as a fix.
Locked automatically