AimTrain

(1 customer review)

A mode players can join to test/practice their aim against bots

$20.00

Sold By: hoppel

Description

AimTrain brings you the assistance in firearm combat training by offering a mode to any server (event server or not) by just typing one command to be teleported to a configured location to shoot bots for practice in gun fire(bots are not shooting back). In order for players to join the AimTrain their inventory must be empty and will not be able to teleport unless done so. Once they are done they will be teleported back to their previous locations where they were before the training.

Players inside the Arena cant see each other while AimTraing, if you are using the Plugin on a other server than a Event server i recommend securing the Area with ZoneManager to make sure people cant leave the Arena with their kit.

Required plugin: https://umod.org/plugins/rust-kits
Player Commands
/at – To join AimTrain (If only one Arena is set up)
/at <arena name> – To join AimTrain (If multiple Arenas are set up)
Admin Commands
  • /aimtrain – Gives you Infos about all the options below.
  • /aimtrain add <arena name>
  • /aimtrain delete <name>
  • /aimtrain list
  • /aimtrain info <name>
  • /aimtrain leavepos – Sets the default spawn point when leaving AimTrain.
For the following commands you need to be editing a Arena, use /at_edit <name> to start editing a Arena.
  • /aimtrain sbot – To set a Bot spawn at current location.
  • /aimtrain splayer – To set a Player spawn at current location.
  • /aimtrain botkit <name> – Add a kit for the Bots.
  • /aimtrain playerkit <name> – Add a kit for the players.
  • /aimtrain movement – Toggle Bot movement in the Arena on/off.
  • /aimtrain enable – Toggle the Arena on/off.
  • /aimtrain botcount <amount> – Change the active Bot amount.
Permissions
  • aimtrain.join – Required to join AimTrain.
  • aimtrain.admin – Required to use /aimtrain commands.
Config
“Use permissons for Arena” – If this is true people need permissions to join Arenas, if your Arena is called Mountain, the players needs the permission aimtrain.Mountain.
“Needs empty inventory to join” – If this is false people can join without clearing their inventory, however the items will be lost.
“Enable UI” – Shows a little UI while AimTraining to leave and turn off/on unlimited Ammo.
“Use NoEscape Raid/Combatblock” – If this is set to true players cant join while they are Raid / Combatblocked (https://oxidemod.org/plugins/noescape.1394/)
“Bot Names” – You can give Bots different names, every time a bot spawns it will pick a random name from the list.
  “Enable AimTrain”: true,
“Use permissons for Arena”: false,
“Needs empty inventory to join”: true,
“Enable UI”: true,
“Use NoEscape Raid/Combatblock”: false,
“Bot Names”: [
“Bot1”,
“Bot2”,
“Bot3”
],
“Commands that cant be used during AimTrain”: [
“tp”,
“home”,
“kits”,
“kit”
],
“Leave Position”: {
“PosX”: -494.816681,
“PosY”: 21.4366665,
“PosZ”: -228.687271
}
API
Check if a player is inside a AimTrain Arena
bool IsAimTraining(ulong playerId)
Add a player to a AimTrain Arena
void EnterAimTrain(BasePlayer player, string arenaName)
Remove a player from AimTrain and teleport him a position
void LeaveAimTrain(BasePlayer player, Vector3 position = default)
Hooks
Called when a player tries to join AimTrain, return object to cancel
object CanJoinAimTrain(BasePlayer player)
Called when a player joined AimTrain
void JoinedAimTrain(BasePlayer player)
Called when a player leaves AimTrain
void LeftAimTrain(BasePlayer player)

1 review for AimTrain

  1. strand (verified owner)

    Awesome event. Looking forward to the next project.

Only logged in customers who have purchased this product may leave a review.

Version 1.0
  • Added Initial release

No License Found!

Got something to discuss?


Customer
raowlf
4 months 20 days ago

Please can you make this work with mevent’s kits plugin?

Customer
raowlf
4 months 20 days ago

Also, can a rock and torch be ignored as items in inventory? Doesn’t matter if you lose them.

 
How do I use this .zip/.7z file I just purchased on my server?

• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.

Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA

• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.