RideAPig
search
  • RideAPig
  • RideAPig
  • RideAPig

RideAPig

$5.00
Allow players to spawn rideable pigs, bears, and wolves
Quantity

These animals can walk on terrain or construction, e.g. inside buildings, etc.  They cannot or should not walk through walls or other obstacles.

For the time being, they spawn without AI and so when not being ridden will just stand there.  They may or may not respond to input from other animals, but in any case they will not attack players.

On plugin reload and/or server restart, the animals spawned by the plugin will lose their rideable attributes and will also likely be culled as part of the overall animal population control of Rust.

It is possible that through this management, a rideable animal may disappear completely.  The player should be able to spawn a new one at that time.

The plugin keeps track of player animals, and any deaths should manage the list and allow for spawning of new animals.

Once mounted, the animal can be moved with the WASD keys using SHIFT to sprint.  Movement works forward, backward, and includes rotation in normal and sprint modes.

Commands

  • /rpig -- Spawns a rideable pig in front of the player, if they are within the limits based on their permission level and the plugin config
  • /rbear -- Spawns a rideable bear in front of the player, if they are within the limits based on their permission level and the plugin config
  • /rwolf -- Spawns a rideable wolf in front of the player, if they are within the limits based on their permission level and the plugin config
  • /rpig status -- Shows current animal spawn status for all 3 animal types (Also works for /rbear and /rwolf)
    /rpig kill -- Kills all spawned rideable boar (Also works for /rbear and /rwolf)
    /rpig killall -- Kills all spawned rideable animals (Also works for /rbear and /rwolf)

Permissions

  • rideapig.use -- Players with this permission can spawn a rideable pig up to limits set in the config
  • rideapig.bear --- Players with this permission can also spawn rideable bears up to limits set in the config
  • rideapig.wolf --- Players with this permission can also spawn rideable wolves up to limits set in the config
  • rideapig.vip -- VIP players with this permission can spawn boar/pig and bear up to limits set in the config, typically of higher numbers than with rideapig.use.

Configuration

{
  "Maximum number of boar that a player can spawn.": 1,
  "Maximum number of boar that a VIP player can spawn.": 2,
  "Maximum number of bear that a player can spawn.": 1,
  "Maximum number of bear that a VIP player can spawn.": 2,
"Maximum number of wolf that a player can spawn.": 1,
"Maximum number of wolf that a VIP player can spawn.": 2, "Destroy ridablepig corpse upon death.": true, "debug": true,
"Options": { "useClans": false, "useFriends": false, "useTeams": false,
},
"Version": {
"Major": 1,
"Minor": 0,
"Patch": 4
}
}

The default configuration allows players with the rideapig.use permission to spawn 1 boar, 1 bear, and 1 wolf each. VIP players with the rideapig.vip permission can spawn 2 each.

The plugin will keep track of how many of each animal each player spawns.

Currently, mounting should only be possible by the spawning player - In 1.0.4, Friends/Teams/Clan support was added, so that they can optionally also mount the rideables.

The default option of destroying the corpse on death helps prevent exploiting the spawning of animals merely to obtain meat, animal fat, cloth, and leather.

If you want your players to be able to spawn bears, they will need the rideapig.bear permission regardless of whether or not they also have the rideapig.vip permission.

All will need the rideapig.use permission.

TODO

  • Destroy rideable animals on plugin reload, since not doing so currently leaves them helpless and also no longer rideable
  • Another option to the above may be to let the rideable object continue to persist on reload. However, I believe that the animals have a fixed lifetime anyway.
  • Indestructible animal flag
RIDEAPIG
chat Comments (0)
No customer reviews for the moment.