Jump to content
Message added by Khan,

Anyone having BP duplication issues is not a direct result of this plugin.
It's due to a plugin you are running that kills the player OnDisconnected too early, resulting in the duplication occurring.
To fix, find the plugin and wrap the player.Die(); call in a NextFrame.

        private void OnPlayerDisconnected(BasePlayer player)
        {
            NextFrame(() =>
            {
                if (player == null)
                    return;
                player.Die();
            });
        }

 

1 Screenshot

  • 27k
  • 473
  • 38.38 kB

About Advanced Researching

Research Table Options

    Custom Research Currency
* Allows you to change the default research requirement which will be scrap as default.
* Allows you to make money by repeatedly researching already researched items.
* Converts players scrap into the selected currency system option.
* Has a list of all default scrap cost amounts allows you to customize the cost/price of each research item!
* Supports Separate Earned amount from researching amount costs.

    Random Custom Research Options
* Supports Success Chance Values for each item being researched ( So you can make researching fail x percent of the time )
* You can set your own research times for each item (default is 10 seconds).

* Allows you to block items from researching if they already unlocked the blueprint.
 "Already Researched Toggle": false, -  If this is true it will block re-researching and show them a message response.

* Allows you to change the research amount needed to research an item!
But you will always need the default requirement on you for the research button to show up properly.
This is because it is handled client side and cannot be fixed.

* You can setup permissions to each individual Re-searchable Item. It's already Prefixed for you!
  "SetPermission": "vip" < Example

 

Important notes about Tech Tree Support.

  "Block Tech Tree Researching": false, - Enabling this will fully lock out tech tree use!
* If that ^^ is false it will check if a blocked item is in the blocked list and block that as well.

* All Research-Table Permissions setup applies to the tech tree as well.

* Supports First Time Research Cost ( if unlocking in TechTree ).

 

XPerience Plugin Support version 1.1.6 & up!
* Set the config option inside XPerience to true! and reload it!
* Advanced Researching will take over and work together with it!  * You can also change this inside the Admin Panel inside XPerience!

image.png.2062c87ef621b76eaaef9ce03e8b22fe.png             image.png.d5f6a322b9fe278f31a0419af85f0213.png

TODO
* Finish UI integration
* Finish Multi Language

Permissions

advancedresearching.use    - Only players that have permission are affected
advancedresearching.bypass - Only players that have this permission can bypass any blocked item set.

Configuration

{
  "Chat Prefix": "<color=#32CD32>Advanced Researching</color>: ",
  "Research Requirement this is the type of resource used to research items (Expects Item Shortname)": "scrap",
  "Already Researched Toggle": false,
  "Block Tech Tree Researching": false,
  "Use Popup Notifications": false,
  "Use Notify Notifications (Mevents Version CodeFling)": false,
  "Notify Notification Type": 0,
  "Use CustomUI Overlay Notifications": true,
  "Enable Economics": true,
  "Enable ServerRewards": false,
  "Enable Custom Currency": false,
  "Custom Name": "",
  "Custom Item ID": 0,
  "Custom SkinId": 0,
  "Research Table UI Options": {
    "CostColor": "#FFFFFF",
    "CurrencyColor": "#ff3333"
  },
  "TechTree UI Options": {
    "CostColor": "#ff3333"
  },
  "Blocked Items": [],
  "Custom Research Options": {
    "kayak": {
      "DisplayName": "Kayak",
      "EarnCurrencyAmount": 20.0,
      "TechTreeFirstUnlockCost": 20,
      "CostToResearchAmount": 20,
      "ResearchDuration": 30.0,
      "ResearchSuccessChance": 100.0,
      "SetPermission": ""
    },
    "arrow.fire": {
      "DisplayName": "Fire Arrow",
      "EarnCurrencyAmount": 20.0,
      "TechTreeFirstUnlockCost": 20,
      "CostToResearchAmount": 20,
      "ResearchDuration": 3.0,
      "ResearchSuccessChance": 100.0,
      "SetPermission": ""
    },
    "ammo.pistol": {
      "DisplayName": "Pistol Bullet",
      "EarnCurrencyAmount": 75.0,
      "TechTreeFirstUnlockCost": 75,
      "CostToResearchAmount": 75,
      "ResearchDuration": 3.0,
      "ResearchSuccessChance": 100.0,
      "SetPermission": ""
    },
  }
}

## Lang

{
  "AlreadyUnlocked": "You already unlocked {0}",
  "AddedCurrency": "has deposited {0} coins into your account",
  "Blocked": "{0} is not researchable",
  "Requires": "New requirement for researching is now {0}",
  "NoPerm": "You do not have permission {0} to research {1}",
  "AmountTo": "{0} needs {1} {2} to research it",
  "TechTreeUI": "{0} requires {1} {2} to research",
  "ResearchedRolled": "Researching {0} Failed!",
  "InvalidShortname": "Not a valid item shortname {0} set for research requirement! \n List of valid item shortnames can be found at https://www.corrosionhour.com/rust-item-list/",
  "NowResearching": "Now Researching {0} for {1} {2}"
}

 

  • Love 1

User Feedback

1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.6k

Files Sold

Total number of files sold.

1.5m

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.