This plugin automatically puts players in 3rd person when they mount vehicles and returns them to 1st person when they dismount. You can also set it so they're always in 3rd person by default, only going to 1st person when aiming their weapon, similar to games like PUBG and Fortnite.
Note: This doesn't apply to admins because implementing it for them introduces some complications.
Note: This doesn't apply to admins because implementing it for them introduces some complications.
Permissions
dynamicthirdperson.use
- Players without this permission can't be switched to 3rd person.
Chat Commands
/3rd
- Allows players to toggle between first-person and third-person. This command can be customized in the config.
Configuration
JSON:
{
"Version": "1.4.0",
"Third Person Mode": "AlwaysThirdPerson",
"Chat Command To Toggle Third Person": "3rd",
"Default Camera": {
"Offset": "0.0, 1.0, 0.0",
"Field Of View": "106.1227",
"Distance": "2"
},
"Vehicle Short Prefab Names": {
"1module_cockpit": {
"Offset": "0.0, 1.0, 0.0",
"Field Of View": "106.1227",
"Distance": "2"
},
"1module_cockpit_armored": {
"Offset": "0.0, 1.0, 0.0",
"Field Of View": "106.1227",
"Distance": "2"
},
"1module_cockpit_with_engine": {
"Offset": "0.0, 1.0, 0.0",
"Field Of View": "106.1227",
"Distance": "2"
},
"motorbike": {
"Offset": "0.0, 1.0, 0.0",
"Field Of View": "106.1227",
"Distance": "2"
},
"motorbike_sidecar": {
"Offset": "0.0, 1.0, 0.0",
"Field Of View": "106.1227",
"Distance": "2"
},
"pedalbike": {
"Offset": "0.0, 1.0, 0.0",
"Field Of View": "106.1227",
"Distance": "2"
},
"rhib": {
"Offset": "0.0, 1.0, 0.0",
"Field Of View": "106.1227",
"Distance": "2"
},
"rowboat": {
"Offset": "0.0, 1.0, 0.0",
"Field Of View": "106.1227",
"Distance": "2"
}
}
}
Third Person Mode
- Determines when third-person view is activated. Available modes are:AlwaysThirdPerson
- Players are always in third-person by default, switching to first-person only when they aim their weapon.VehicleOnly
- Players automatically switch to third-person when mounting specified vehicles and revert to first-person when dismounting.CommandOnly
- Players manually toggle between first-person and third-person using the chat command.
Vehicle Short Prefab Names
- Specifies the vehicles that trigger the automatic switch to third-person upon mounting.Chat Command To Toggle Third Person
- Defines the chat command players can use to toggle between first-person and third-person.Camera
- Settings for third-person camera.Offset
- Defines the camera's position relative to the player. Acceptable values are in the formatx, y, z
.Field Of View
- Sets the camera's field of view. Acceptable values are float numbers representing degrees.Distance
- Specifies the distance of the camera from the player. Acceptable values are float numbers.
Localization
JSON:
{
"NoPermission": "You do not have permission to use this command.",
"ToggleSuccess": "You have switched to {0} view.",
"AdminToggleDenied": "You cannot use this command as an admin.",
"CommandSyntaxError": "Syntax error. Correct usage: {0}.",
"ThirdPersonCommandDisabled": "You cannot use this command in the current mode."
}