XanaxSwallower
XanaxSwallower
CC#
Created by XanaxSwallower on 12/13/2023 in #help
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?
5 replies