Jump to content

Custom currency

Pending 2.2.9

Rebel25
Rebel25

Posted

Hi, I don´t use a plugin like economics or serverrewards .... on my server the money is "Islander Token"  it´s a custom item "parent item is rhib with a skin ID" -- all shops including the Shop plugin and custom vending machines are working with that item to buy and sell things ..

So i managed to configure the plugin to accept that custom currency and it´s working .. but in the HUD , it still says for example :

Buy skill for 100 XP ... how do I change the XP in for example IT from Islander Token ?

"Custom Economy Settings": {
    "Use Custom Economy": true,
    "Type (Plugin/Item)": "Item",
    "Plugin name": "",
    "Balance add hook": "",
    "Balance remove hook": "",
    "Balance show hook": "",
    "ShortName": "rhib",
    "Display Name (empty - default)": "Token",
    "Skin": 3790089287
  },

 

 

Mevent

Posted

1 hour ago, Rebel25 said:

Hi, I don´t use a plugin like economics or serverrewards .... on my server the money is "Islander Token"  it´s a custom item "parent item is rhib with a skin ID" -- all shops including the Shop plugin and custom vending machines are working with that item to buy and sell things ..

So i managed to configure the plugin to accept that custom currency and it´s working .. but in the HUD , it still says for example :

Buy skill for 100 XP ... how do I change the XP in for example IT from Islander Token ?

"Custom Economy Settings": {
    "Use Custom Economy": true,
    "Type (Plugin/Item)": "Item",
    "Plugin name": "",
    "Balance add hook": "",
    "Balance remove hook": "",
    "Balance show hook": "",
    "ShortName": "rhib",
    "Display Name (empty - default)": "Token",
    "Skin": 3790089287
  },

 

 

Hey! That text comes from the lang file, not the config. Open oxide/lang/en/Skills.json (or carbon/lang/en/Skills.json if youre on Carbon) and find "Msg_UI_XP": "XP". Change it to "Msg_UI_XP": "IT" or "Islander Token", whatever you like, then reload Skills. Thatll update the buy button and the balance in the menu.

Rebel25

Posted

ok .. ty...

Still have another problem .... I have set the value of the level 1 skill for mining stone to 120 , level 2 to 140 ... etc .. just for testing ,

I bought level 1 and level 2 .... so now i´m level 2 in stone gathering/mining ...

With the jackhammer .. I get now only 1006 stones from an ore

With the salvaged axe .. I get 1000 .. but like always .. level 1 got 1000 stones , level 2 still got 1000 stones,

with the stone axe , I get around 1030

that doesn´t seem correct to me .... what do the "value´s" mean in the config ?

picking up stone.. gives me 120 stones .. so that´s the only thing that seems somewhat correct to me ..

 

{
          "Enabled": true,
          "Skill ID": 2,
          "Skill Type": "Gathering",
          "Title": "Stone Mining",
          "Description": "Each level increases the amount of resources obtained when mining stone",
          "Image": "https://gitlab.com/TheMevent/PluginsStorage/raw/main/Images/Skills/Icons/Gather_Stones.png",
          "Permission": "",
          "Requirements to access skill": [],
          "Gathering Settings": {
            "Resource Shortnames (multiple can be specified using |)": "stones|stones-collect",
            "Levels (each level increases gathering percent)": [
              {
                "Value": 120,
                "Cost": 100,
                "Permission": "",
                "Requirements to access level": [],
                "Commands On Level Up": []
              },
              {
                "Value": 140,
                "Cost": 200,
                "Permission": "",
                "Requirements to access level": [],
                "Commands On Level Up": []
              },
              {
                "Value": 160,
                "Cost": 300,
                "Permission": "",
                "Requirements to access level": [],
                "Commands On Level Up": []
              },
              {
                "Value": 180,
                "Cost": 400,
                "Permission": "",
                "Requirements to access level": [],
                "Commands On Level Up": []
              },
              {
                "Value": 200,
                "Cost": 500,
                "Permission": "",
                "Requirements to access level": [],
                "Commands On Level Up": []
              },
              {
                "Value": 220,
                "Cost": 750,
                "Permission": "skills.extralevel",
                "Requirements to access level": [],
                "Commands On Level Up": []
              },
              {
                "Value": 240,
                "Cost": 1000,
                "Permission": "skills.extralevel",
                "Requirements to access level": [],
                "Commands On Level Up": []
              },
              {
                "Value": 260,
                "Cost": 1250,
                "Permission": "skills.extralevel",
                "Requirements to access level": [],
                "Commands On Level Up": []
              },
              {
                "Value": 280,
                "Cost": 1500,
                "Permission": "skills.extralevel",
                "Requirements to access level": [],
                "Commands On Level Up": []
              },
              {
                "Value": 300,
                "Cost": 2000,
                "Permission": "skills.extralevel",
                "Requirements to access level": [],
                "Commands On Level Up": []
              }
            ]
          }
        },

 

I have no other gathring plugins installed on the server that could interfere .

RustClient_mKnlfKiK3N.png

Rebel25

Posted

ok .. think I figured it out .... 

it´s the BetterLoot plugin interfering with the skills plugin

apparently, BetterLoot has done an update and integrated custom gathering in their config .. although everything is disabled in the BetterLoot config that has to do with gathering , it still seems to overwrite the skills plugin ..

So i guess I have to complain with them then ...

you can close this .. ty for your respond ...

  • Love 1
MeventSupport

Posted

26 minutes ago, Rebel25 said:

ok .. think I figured it out .... 

it´s the BetterLoot plugin interfering with the skills plugin

apparently, BetterLoot has done an update and integrated custom gathering in their config .. although everything is disabled in the BetterLoot config that has to do with gathering , it still seems to overwrite the skills plugin ..

So i guess I have to complain with them then ...

you can close this .. ty for your respond ...

Thank you very much for your feedback!

If you have a spare moment, we would also be very grateful if you could leave us a review. 🥹

Your feedback is very important to us and helps us improve our plugins and provide better support to our customers.

Thank you again for your support!❤️

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.1m
Total downloads
Customers
12.1k
Customers served
Files Sold
172.2k
Total sales
Payments
3.7m
Processed total
×
×
  • 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.