I've done all the steps in this wiki https://wiki.mtvehicles.eu/tutorials/customvehicles.html#prerequisities
including adding the vehicles.yml file. My vehicle still does not appear in game.
Wiki for the MTVehicles plugin
28 messages · Page 1 of 1 (latest)
I've done all the steps in this wiki https://wiki.mtvehicles.eu/tutorials/customvehicles.html#prerequisities
including adding the vehicles.yml file. My vehicle still does not appear in game.
Wiki for the MTVehicles plugin
^^^ this is what I've put in vehicles.yml
However, it should now actually appear in the cb750 category after a server restart. In any case, I don't see any mistakes. Is there an error in the console?
just had a look. this seems relevant:
07.11 19:53:37 [Server] Server thread/ERROR Cannot load plugins/MTVehicles/vehicles.yml
07.11 19:53:37 [Server] INFO org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
07.11 19:53:37 [Server] INFO in 'reader', line 9, column 1:
07.11 19:53:37 [Server] INFO voertuigen:
07.11 19:53:37 [Server] INFO ^
07.11 19:53:37 [Server] INFO expected <block end>, but found '<block sequence start>'
07.11 19:53:37 [Server] INFO in 'reader', line 100, column 2:
07.11 19:53:37 [Server] INFO - name: "cb750"
07.11 19:53:37 [Server] INFO ^
for additional clarification- the rest of the plugin works fine. this particular one does not appear
Does the error continue or is this the whole Error?
Is a - before every name line?
the formatting is:
i will have a look for you now
OK Discord simply turns the minus into a dot. The error occurs when a line is indented incorrectly.
i believe this is the full error, reoccurring again after a restart
Can you send me the section again in a txt or YML file, I think I found the error, but it could be that Discord just reformatted it.
I have your mistake, you have made your Cars: argument in the block of the seats, but it must be at the same height as the point seats:
this was it! it's appearing in game (although now the resource pack isn't working, but i think that's because i added another plugin that uses its own resource pack)
( resource pack working. although the game thinks it's a raft. i placed the cb750 block beneath the raft one, so i think i just need to reformat )
name: "Raft"
vehicleType: BOAT
skinItem: DIAMOND_HOE
itemDamage: 1276
benzineEnabled: false
kofferbakEnabled: false
hornEnabled: false
maxHealth: 50.0
acceleratieSpeed: 0.01
maxSpeed: 0.35
brakingSpeed: 0.02
aftrekkenSpeed: 0.005
rotateSpeed: 6
maxSpeedBackwards: 0.06
seats:
- x: 0.6
y: -0.65
z: 0.4
- x: 0.6
y: -0.65
z: -0.4
- x: -0.8
y: -0.65
z: 0.4
- x: -0.8
y: -0.65
z: -0.4
cars:
- name: "Raft"
SkinItem: DIAMOND_HOE
itemDamage: 1276
uuid: PLV334
price: 10000.0
this is how it currently is in the bottom of my config. not sure what the issue is, could i have made an error in the .json file?
this txt file did not work, it removed the cb750 once more.
sorry for the hassle, this must be a pain. should i send you my full vehicles.yml so you can have a full in depth look?
could i possibly have an update on this if any?
You need to add two spaces to every Line from Line 1405
that sort of worked. the cb750 appears in the menu, although it just looks like the raft, and has no functions. i'm not sure what i could be doing wrong now.
update: changed out everything relating to the cb750 to a diamond_axe.json instead, it now appears in game and functions as its own vehicle. just need to get the model itself to work now as that just looks like a diamond axe lol