Jump to content

Adding New Modes

Not a Bug 1.2.0

Chillzone - PvE

I'm trying to add a new mode and it's not working out for me. 

I have the group created I believe, but I'm having an issue with the lang files. 

I edit them and add the new mode. Reload. But everything I added is removed -- back to default. 

And the group title still looks like this: 

Screenshot 2024-08-31 at 12.52.35 PM 1.png

WarMode.json

Link to comment

You have to add a new entry to your lang file for every new mode you add for every spot you see the default modes.


So in the WarMode.json lang file, you need to add the following entries:
"mode rogue"
"ss title rogue"
"ss text rogue"

And if you add other custom modes in the future, you'll need to do the same for those as well.
image.png.dcdf666920fdfb34366c96966a65b297.png


Additionally, if you're using the spawn ui, you will need to edit the WarModeSpawnUI.json lang file as well. And add the following values
"rogue"
"rogue info"
image.png.c56219bf369c9676bc2f11767d641295.png

Link to comment
7 hours ago, Mr01sam said:

You have to add a new entry to your lang file for every new mode you add for every spot you see the default modes.


So in the WarMode.json lang file, you need to add the following entries:
"mode rogue"
"ss title rogue"
"ss text rogue"

And if you add other custom modes in the future, you'll need to do the same for those as well.
image.png.dcdf666920fdfb34366c96966a65b297.png


Additionally, if you're using the spawn ui, you will need to edit the WarModeSpawnUI.json lang file as well. And add the following values
"rogue"
"rogue info"
image.png.c56219bf369c9676bc2f11767d641295.png

I've done all of this. It all literally disappears after reloading the plugin.

Link to comment

Hey I just tried to reproduce this and I can't get the problem to occur - adding the localization is working for me and its saving properly. Perhaps you could DM me and we could work through it to figure out what is going on?

Link to comment
1.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

95.7k

Files Sold

Total number of files sold.

1.9m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.