About Floor Drops Event
Please read carefully before starting a support ticket.
- Many suggestions they gave me have not yet been adapted into the plugin, but remember that I still plan to add many new features.
- I'm limiting UI customization to maintain plugin aspects and prevent fake copies.
- Yes, it will be necessary to redo the configuration and translation of the plugin as it is a new major version.
In this new plugin update to v2, everything has been redone from scratch, fixing many bugs and improving many features!
- A new user interface, much more elegant and easier to use;
- Plugin performance is 10x faster for users and for the server;
- Console to allow admins to start the event without joining in the game;
- It is now possible to break the ground with arrows;
- Now you can play alone! To win, just stay alive until the last foundation is destroyed!
Note: You can change/add new commands in the plugin configuration file.
Note 2: The console and chat commands will be the same, just remove the '/' before using them in the console
/floordrops start - To start the event
/floordrops stop - To stop the event
/floordrops join - To join the event
/floordrops leave - To leave the event
You can use this simple API to communicate with your plugin easily:
PLUGIN HOOKS
QuoteOnFloorDropsEventStarted() : void
→ Called when the event startsOnFloorDropsEventEnded(BasePlayer? winner) : void
→ Called when the event ended
PLUGIN METHODS
QuoteIsActive() : bool
→ Check if the event is active
IsPlaying(BasePlayer player) : bool
→ Check if the player is playing the event
RemovePlayer(BasePlayer player) : void
→ Remove a player from the event
WARN: Your old floordrops configuration file will be deleted to create a new one.
Default configuration file:
{ "Commands to be registered": [ "floordrops", "fd" ], "Allowed commands in arena (use '/' before the command to allow a chat command)": [ "/clan ff", "oxide.usergroup" ], "Event Settings": { "Warmup duration (seconds)": 45.0, "Auto start cooldown (0 = disabled)": 1800.0, "Minimum participants": 1, "Allow PVP": true, "Event position": { "x": 300.0, "y": 800.0, "z": 500.0 } }, "Floor Settings": { "Arena size (M²) | Example: 4 = 4x4": 12, "Layers (max = 5 | min = 1)": 5, "Floor drop interval": 0.5, "Drop amount": 2, "Destroy on hit": true }, "Prize Settings": { "Commands to execute": [ "deposit {player_id} 1000" ], "Items": [ { "Short name": "rifle.ak", "Amount": 1, "Container (wear/belt/main)": "belt", "Skin ID": 0, "Name": "FloorDrops winner's AK" }, { "Short name": "ammo.rifle", "Amount": 128, "Container (wear/belt/main)": "main", "Skin ID": 0, "Name": "FloorDrops winner's AK Ammo" } ] }, "Give Settings": { "Give items during the event": true, "Items": [ { "Drop after (seconds)": 10, "Short name": "bow.hunting", "Amount": 1, "Container (wear/belt/main)": "belt", "Loaded ammo": 1, "Skin ID": 0, "Show warn": true }, { "Drop after (seconds)": 10, "Short name": "arrow.bone", "Amount": 2, "Container (wear/belt/main)": "main", "Loaded ammo": 0, "Skin ID": 0, "Show warn": false }, { "Drop after (seconds)": 30, "Short name": "pistol.m92", "Amount": 1, "Container (wear/belt/main)": "belt", "Loaded ammo": 4, "Skin ID": 0, "Show warn": true } ] }, "UI Settings": { "Popup settings": { "Background opacity": 0.6 }, "Join/Leave box settings": { "Anchor": "MiddleRight", "Offset": "-140 -56 -12 56", "Background color": "0 0 0 .85", "Padding": 6.0, "Top line color": "0 1 1 1", "Join button color": "0.55 0.78 0.24 1", "Leave button color": "0.8 0.28 0.2 1" }, "Remaining players settings": { "User icon size": 32.0, "Outline color": "1 1 1 1" } }, "Version": { "Major": 2, "Minor": 0, "Patch": 0 } }