Jump to content

imthenewguy

Curator
  • Posts

    4,655
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by imthenewguy

  1. Version 1.0.3

    53 downloads

    World Buffs is a plugin that allows for the creation of server-wide quests, allowing for players to work together to complete a common goal. Quests are comprised of any number of tasks, and will reward the entire server upon completion with a mixture of built-in buffs such as increased gather yields, bonus damage to NPCs etc, as well as the option for permissions and server commands. All players, regardless of their online status, will receive the built-in and permission based rewards. Tasks can be set based on the task type, along with a list of identifying features. For example, you can have a task that requires players to kill npcs using the KillNpc task type. If you only wanted certain npcs to count, you could then add further restrictions by listing the short prefab names of the npc, such as npc_tunneldweller & npc_underwaterdweller, if you only wanted Tunnel & Underwater dwellers to be considered towards the goal. The plugin supports the use of a quest queue (disabled by default). Quests in the queue are automatically started when the plugin loads. When the active quest is completed, the plugin will queue up the next quest after a short while. The identifier of a task depends on the task type itself. Some tasks work with item shortnames when considering quest progress, while others may use prefab shortnames.. Leaving the identifier field empty or set to null will consider any action that triggers the check to contribute towards the task. A list of item shortnames can be found here. A list of prefabs can be found here. TaskType: Woodcutting Identifier: Item shortname TaskType: Mining Identifier: Item shortname TaskType: Skinning Identifier: Item shortname TaskType: Collectible Identifier: Item shortname TaskType: Growable Identifier: Item shortname TaskType: Fishing Identifier: Item shortname TaskType: Growable Identifier: Item shortname TaskType: KillNpc Identifier: prefab shortname TaskType: KillNpcSpawn Identifier: Npc displayname [profile name] TaskType: KillAnimal Identifier: prefab shortname TaskType: KillBradleyApc Identifier: prefab shortname TaskType: LootCrates Identifier: prefab shortname TaskType: DestroyBarrels Identifier: prefab shortname TaskType: Dig Identifier: prefab shortname Reward types function similar to Task Types. They allow for identifiers to limit the sources that they impact. For example, you can specify "cloth" for the CollectibleYield RewardType, which would only boost the yield when collecting cloth, and not other items such as pumpkins or diesel. RewardType: WoodGatherBonus Identifier: Item shortname RewardType: MiningGatherBonus Identifier: Item shortname RewardType: SkinningGatherBonus Identifier: Item shortname RewardType: FishingBonus Identifier: Item shortname RewardType: CollectibleYield Identifier: Item shortname RewardType: GrowableYield Identifier: Item shortname RewardType: NpcDamageBonus Identifier: Prefab shortname RewardType: NpcSpawnDamageBonus Identifier: Prefab shortname RewardType: ScientistDefenceBonus Identifier: Prefab shortname RewardType: AnimalDefenceBonus Identifier: Prefab shortname RewardType: BradleyDamageBonus Identifier: Prefab shortname RewardType: BradleyDefenceBonus Identifier: Prefab shortname RewardType: NpcSpawnDamageBonus Identifier: Npc displayName [profile name] RewardType: XpBonus Identifier: None RewardType: UniversalSwipeCardsBonus Identifier: None RewardType: PvpDamageBonus Identifier: None RewardType: PvpDefenceBonus Identifier: None Command: wb.toggle Type: Chat command Description: Toggles the ui on and off. Command: wb.setquestqueueindex <index> Type: Console command Description: Set's the next quest in the queue to the specified index value Requires admin: Yes Command: wb.startnextquest Type: Console command Description: Starts the next quest in the queue if no quest is running. Requires admin: Yes Command: wb.cancelquest <true/false: start next quest in queue> Type: Console command Description: Cancels the current quest Requires admin: Yes Command: wb.completequest Type: Console command Description: Mark the current quest as complete (this gives players rewards from the quest) Requires admin: Yes Command: wb.startquest <quest name> <optional true/false: force cancel the current quest> Type: Console command Description: a Requires admin: Yes
    $19.99
  2. You have a plugin conflict it seems. Unload all other plugins and test again. Let me know how it goes.
  3. You would need to add the item into the loot table of the BossMonster profile I assume (I don't own it so unsure). The format of the display name needs to be correct though: Reinforced hoodie [S 0.05]
  4. You could build it out from a mixture. BulletProof reduces damage from bullets Demo reduces damage from explosions Tamers reduces damage from animals. Make a set bonus using these.
  5. You would need to add specific items to the boss monsters loot table directly, rather than handling it in EpicLoot
  6. I can add the lang to the next release. Won't be reverted because of the changes to EventHelper.
  7. Its not good in its current state but ill consider re-vamping it in the future.
  8. It's a custom plugin made specifically for their server. I made an SMG that did something similar with a friend a while ago, but it was never released.
  9. Change the value for "Should yield bonus buffs be additive [if true, yields will modify the item.amount value, rather than giving additional items]" to fix it.
  10. imthenewguy

    Cooking

    You should still be able to download it from your profile, but I will be removing it from Lone in the next couple of weeks. You can send me a PM on discord to arrange transfer of it from Lone to Codefling.
  11. Hook Methods // Temporarily disable all buffs for the target public void DisableBuffs(ulong id) // Enable disabled buffs for the target public void EnableBuffs(ulong id) // Temporarily disable xp gain for the target public void DisableXP(ulong id) // Enable xp gain for the target public void EnableXP(ulong id) // Returns if xp gain is disabled for the target public bool IsXPDisabled(ulong id) // Allows external plugins to roll loot using the Loot_Pickup buff. Returns true if successful. public bool RolledLootPickup(BasePlayer player) // Give skill points to the target public void GiveSkillPoints(BasePlayer player, int amount) // Add a global xp modifier. Only the highest value is used. public void AddGlobalXPModifier(string pluginName, float modifier) // Removes a global xp modifier. public void RemoveGlobalXPModifier(string pluginName) // Give the player xp. noMod is whether the xp amount should be modified by permissions, nighttime xp bonuses, rested xp etc. public void AwardXP(BasePlayer player, double value, string plugin, bool noMod = false) // Returns a double representing the total respec cost. public double GetTotalRespecCost(BasePlayer player) // Respecs the player void RespecPlayer(BasePlayer player, PlayerInfo playerData = null) // Returns a list<object[]> of items inside of the players pouch_items. object[] is made from the itemInfo class. /* public class ItemInfo { public string shortname; public ulong skin; public int amount; public float condition; public float maxCondition; public int ammo; public string ammotype; public int position; public int frequency; public Item.Flag flags; public KeyInfo instanceData; public class KeyInfo { public int dataInt; public int blueprintTarget; public int blueprintAmount; } public int contentsSlots; public List<ItemInfo> item_contents; public string text; public string name; public List<ItemOwnershipShare> ownershipShares; public int armorSlots; public object[] ToObject() { return new object[] { shortname, skin, amount, condition, maxCondition, ammo, ammotype, position, frequency, flags, instanceData, instanceData?.dataInt, instanceData?.blueprintTarget, instanceData?.blueprintAmount, contentsSlots, text, name, ownershipShares, armorSlots }; } } */ List<object[]> STGetExtraPocketsItems(ulong id) // Returns the max level. public int STGetMaxLevel() // Returns name, xp, prestige level, current level and xpdebt as a Dictionary<ulong, (string Name, double XP, int PrestigeLevel, int CurrentLevel, double XPDebt)> public object GetSkillTreeData() // Remotely updates player stats. public void RemoteUpdatePlayerStats(string userid, string json) // Returns a float with the buff value of the specified buff. float GetBuffValue(BasePlayer player, string skill) /* Returns: - Current level (int) - Current total xp (double) - XP value that the currently level started at (double) - XP value that the next level will start at (double) - XP Debt - PrestigeLevel */ object[] GetXPStats(ulong id) // Returns the current prestige level of the player object GetPrestigeLevel(ulong id) // Returns the xp amount for the specified level. public double GetLevelExp(int level) // Returns the player level public int GetPlayerLevel(BasePlayer player) // Forces the players pouch to be dropped. public void ForceDropPouch(BasePlayer player, bool bypassPerm) // Remotely set the yields for skill tree's yield system public void SetSkillTreeYields(Dictionary<int, float> dict) // Remote set the yield for the specified yield type. public void SetSkillTreeYield(int type, float multiplier) // Returns a string[] with the players levle and xp. public string[] ST_GetPlayerLevel(BasePlayer player) // Returns xp over and above the players current level. private double GetExcessXP(BasePlayer player) // Removes xp from a player (cannot go below level xp). private void RemoveXP(BasePlayer player, double value) // Returns the horse stats as a float or null if the horse isnt modified. private object STGetHorseStats(BasePlayer player, ulong id) // Returns if the container uid is an extra pockets container. public object IsExtraPocketsContainer(ulong uid) // Adds a skill from a plugin. public void AddNode(string tree, string node, bool enabled, int max_Level, int tier, float value_Per_Buff, string _buff, string _buffType, string icon_url, object[] _perms = null, ulong skin = 0, bool overwrite = false) Hook Calls // Returning non-null prevents yield from the Harvest_Grown_Yield skill. object STCanReceiveYield(BasePlayer player, GrowableEntity entity) object STCanReceiveYield(BasePlayer player, GrowableEntity entity, Item item) // Returning non-null prevents SkillTree from increasing the yield for dispensers (trees/rocks/animals). object STCanReceiveYield(BasePlayer player, BaseEntity entity, Item item) // Prevents skill tree from increasing the gather yield for collectible entities. object STCanReceiveYield(BasePlayer player, CollectibleEntity entity) // Returning non-null prevents the Lock_Picker skill from running. object STOnLockpickAttempt(BasePlayer player, BaseLock baseLock) // Returning non-null prevents SkillTree from handling dispenser gather skills. object OnSkillTreeHandleDispenser(BasePlayer player, BaseEntity entity, Item item) // Returning non-null prevents instant gather from triggering. object OnInstantGatherTrigger(BasePlayer player, ResourceDispenser dispenser, string pluginName) // Triggered when an instant gather skill creates a new item (before it is given to the player). void OnInstantGatherTriggered(BasePlayer player, ResourceDispenser dispenser, Item newItem, string pluginName) // Returning non-null prevents the item repair from happening. object STOnItemRepairWithMaxRepair(Item item) // Returning non-null prevents the Rationer from running. object STOnRationTrigger(BasePlayer player, Item item) // Returning non-null prevents the horses stats from being modified by the Riding_Speed skill. object STCanModifyHorse(BasePlayer player, RidableHorse horse, float value) // Returning non-null prevents the pouch from dropping. object STOnPouchDrop(BasePlayer player) // Returning non-null prevents the player from losing xp. object STOnLoseXP(BasePlayer player) // Returning non-null prevents the boats speed from being modified by the Boat_Speed skill. object STOnModifyBoatSpeed(BasePlayer player, MotorRowboat boat) // Returning non-null prevents bonus loot from being added to the container. object STCanReceiveBonusLootFromContainer(BasePlayer player, LootContainer container) // Triggered when the player levels up. void STOnPlayerLevel(BasePlayer player, int currentLevel, int newLevel) // Returning a non-null value prevents the xp gain. object STCanGainXP(BasePlayer player, string plugin, double xp) object STCanGainXP(BasePlayer player, BaseEntity source, double xp, string source_string) object STCanGainXP(ulong userid, string plugin, double xp) // Returning non-null prevents the pouch from being opened. object STOnPouchOpen(BasePlayer player) // Triggered when the pouch is opened. void STOnPouchOpened(BasePlayer player, StorageContainer container) // Returning non-null prevents xp gain from a swipe card object OnGainXPFromSwipeCard(BasePlayer player, int cardLevel, ulong cardReaderID) // Returning non-null prevents the swipe card from being bypassed with the Build_Craft_Ultimate. object OnSwipeAccessLevelBypass(BasePlayer player, CardReader cardReader, Keycard card) // Returning non-null prevents the Raiding_Ultimate from acquiring a target. object OnRaidingUltimateTargetAcquire(BasePlayer player, Vector3 pos) // Triggered when a player advances a prestige levels void STOnPlayerPrestigeLevelled(BasePlayer player, int newPrestigeLevel) // Returning non-null will prevent the skill from triggering object STOnRespawnTree(BasePlayer player, ResourceEntity dispenser) // Add your xp gain modifier to the List<double> of hook mods to modify the xp gain. void OnXpGain(BasePlayer player, BaseEntity source, double xp, string source_string, List<double> HookMods)
  12. Should be able to list the item in a shop, as long as the skin id and name match.
  13. No integration has been done from my end, so unsure. Would need a solid way to replicate it if its a plugin issue. Could also be a conflict. Please submit a support ticket when you can.
  14. Ill add an option to display logs to console in the next release.
  15. It doesnt print to console. It logs them using the LogToFile method and adds them the oxide/logs/DeathTracker/ folder.
  16. Yeah they would have written something custom or have another plugin handle the loot for the plugin I would assume., The only way to get ItemPerk items is to have support for the item.text field (which is where all perk info is stored), or generate them via command/HookMethod from another plugin.
  17. It doesnt have the item.text field, which is required for itemPerk items.
  18. If you can run commands when the player defeats the heli that would be the best way, otherwise you'd have to add the items to the loot table with some variation.
  19. You'd need to add some code for that wouldn't you?
  20. You mean how it shoots rockets at a rapid pace from a smg or something?
  21. It's not part of the scope of this plugin unfortunately.
  22. Please submit a surpport ticket.
  23. Try unloading everything and giving it another crack. If that doesn't work, let me know and ill throw it up on my test server when I get a chance.
  24. This feature does not exist but there is another that does. Please submit a support ticket if you need assistance with it.
2.3m

Downloads

Total number of downloads.

10.6k

Customers

Total customers served.

153.8k

Files Sold

Total number of files sold.

3.3m

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.