need help with a plugin

c#
using Rocket.API;
using System.Collections.Generic;

namespace DropManager
{
public class DropManagerConfiguration : IRocketPluginConfiguration
{
public bool ShowWarnings { get; set; }
public string LeftOtherDrop { get; set; }

public List<Item> Items { get; set; }

public string BlackListIds { get; set; }

public void LoadDefaults()
{
ShowWarnings = true;
LeftOtherDrop = "100%";

Items = new List<Item>
{
new Item("Skull Flag", 514, 1, 2),
};

BlackListIds = "47132, 58950, 41829";
}
}
}
c#
using Rocket.API;
using System.Collections.Generic;

namespace DropManager
{
public class DropManagerConfiguration : IRocketPluginConfiguration
{
public bool ShowWarnings { get; set; }
public string LeftOtherDrop { get; set; }

public List<Item> Items { get; set; }

public string BlackListIds { get; set; }

public void LoadDefaults()
{
ShowWarnings = true;
LeftOtherDrop = "100%";

Items = new List<Item>
{
new Item("Skull Flag", 514, 1, 2),
};

BlackListIds = "47132, 58950, 41829";
}
}
}
Hello! I need a little help with this config file. Does the following code above mean that the players will drop the "skullflag" item upon death? and do they need to have the item in their inventories before dropping it?
4 Replies
Angius
Angius6mo ago
Test it?
XanaxSwallower
XanaxSwallower6mo ago
not implemented yet, this is a plugin i downloaded and want to config before installing to live server as i want to prevent items from dropping on death other than the specific item
cap5lut
cap5lut6mo ago
then ... install it on a test server? tbh there isnt much information about this modding framework, so the group of ppl that know it and have experience/deeper knowledge about it are probably not found on a general C# server especially for a project for which further development has stopped 4 years ago (if it is about https://github.com/RocketMod/Rocket/tree/master) as it seems to be targeting $unity somewhat i would guess asking there will help ya a lot more
Want results from more Discord servers?
Add your server
More Posts