• This section is "bound" to the Resources page. Once you've submitted a new mod to the resources, a new discussion about your mod will be automatically generated and posted in this section. That means, you can't create a new thread by hand in here.
No Player Credits

No Player Credits 1.1.0

No permission to download

inlife

Stone
Mod Dev
Messages
6
Reaction score
0
inlife submitted a new resource:

No Player Currencies - Prevent player credit currencies from being generated.

A simple mod, that prevents "player credit" currencies from being generated on your server.
Works by blocking automatic currency creation when new players are join to the game first time.

This mod will not remove existing currencies.

Works best on the new, empty world, however make sure to Mint at least one currency, otherwise creating contracts won't work for players (client disconnects).
Read more about this resource...
 

YoShIWoZ

Stone
Messages
6
Reaction score
0
Mate, if you mint a currency WHILE this mod is installed. the server file will get corrupted and crash every time you start the server. It will even happen as well if you remove some currencies etc. It's very unstable. And it can literally kill your server. First time this happened we had to roll back 5 hours. didn't know what caused it.

Edit: You need to remove everything that has to do with a currency you remove. If a shop is using the currency you remove. Your save file will get corrupted. :)
 
Last edited:
OP
inlife

inlife

Stone
Mod Dev
Messages
6
Reaction score
0
Hello,
yes, unfortunately, it's quite unstable in the new version.
And the worst part I'm not yet sure on how to fix those issues.
 

YoShIWoZ

Stone
Messages
6
Reaction score
0
It's running without issues on my server now. but you have to very careful when you delete currencies. Because if you delete a currency that is in use. It will bug out.
Can't you make your mod change currency in use to a currency that has not been deleted? Then it'll have to be up to people themselves to change it. :)
Also, perhaps your mod should generate a currency if none exists? maybe make a toggle, so your can turn that feature on/off.
I don't know why you wouldn't want a currency. :)
 
OP
inlife

inlife

Stone
Mod Dev
Messages
6
Reaction score
0
Will it crash now, if you just try to mint a currency after you joined first time?

Ideally mod should be used exactly that way:
>Log in onto the server, and mint a currency right away (use /give command to spawn yourself a mint).
>After that, reload the server, and only then let other players join the server.

P.S. I tried with adding of the default currency, however i consider that a "last measure", if everything else won't work. And also I'm not a big fan of adding a config anywhere, since it is overextending a mod too far, making it responsible for maintaining even more infrastructure for every future update. (which is not good)
 
Top Bottom