Jump to content

nivex

Creator
  • Posts

    5,999
  • Joined

  • Last visited

  • Days Won

    201

Everything posted by nivex

  1. heya, sure, I can look once I finish implementing player-made boats in NTeleportation and TruePVE.
  2. nivex

    needs updating

    you're welcome, enjoy!
  3. nivex

    needs updating

    hi, this is in the profiles, oxide/data/RaidableBases/Profiles/ "Create Dome Around Event Using Spheres (0 = disabled, recommended = 5)": 5, and you can change the color "Sphere Colors (0 None, 1 Blue, 2 Cyan, 3 Green, 4 Magenta, 5 Purple, 6 Red, 7 Yellow)"
  4. nivex

    needs updating

    Changed Status from Pending to Closed
  5. nivex

    needs updating

    you're welcome, gn!
  6. nivex

    needs updating

    hi, reupload or reload the plugin again. that's an issue with the compiler trying to load the file before it was uploaded. otherwise you need to download and upload it again.
  7. nivex

    Real PvE

    Heya, regarding purchases... RealPVE's flow is enter -> purchase, but RaidableBases is purchase -> enter. Buyable Cooldowns block buying, not entry to a base (hence "cooldown"), so using Maintained or Scheduled Events for purchases can bypass the cooldown when those bases have already spawned. RealPVE uses the setowner command from RaidableBases when purchasing, which effectively purchases the event at no additional cost and applies a Buyable Cooldown. When the event finishes, players end up with buyable cooldowns instead of player lockouts (which block entry, hence "lockout"). So when they go to another event and enter it, they are not ejected, because Buyable Cooldowns do not block entry. This is why the restrictions get bypassed in this flow. First, this functionality should be optional (line 8111). Second, I will add a new command in the next update that RealPVE can use: rbe setowner <ID> lockout - purchases event at no additional cost, converts to a public event, applies a player lockout This command currently exists (and is what RealPVE uses): rbe setowner <ID> - purchases event at no additional cost, converts to a purchased event, applies a buyable cooldown And some more API: HasBuyableCooldown(BasePlayer player, string mode) (and an overload that takes int level instead of string mode) RemovePlayer(BasePlayer player, bool justEntered = true, float tolerance = 1f) to forcefully remove a player from any event. If they just entered, pass justEntered = true. tolerance controls how much extra radius is used when checking for the player. To be clear, neither plugin is broken. They are both behaving correctly given the options that currently exist. I respect the developer's kind words (and the community), so I will pay it forward by adding the new command. Unless there's some serious bug that requires patching, this will not be implemented until the next Rust update in March.
  8. nivex

    OnEntityEnteredAbandonedBase

    Changed Status from Pending to Closed
  9. nivex

    OnEntityEnteredAbandonedBase

    ah, I did not miss this thread, I actually responded here instead. https://codefling.com/files/sc/23387-does-this-plugin-work-with-abandoned-bases/?tab=comments#comment-126000 closing
  10. nivex

    Raidable Bases

    @laodu ok, this exists too. this is what RaidableBases uses when it blocks you from purchasing multiple raids. add it to your plugin and call it. private bool IsEventOwner(BasePlayer player) => Convert.ToBoolean(RaidableBases?.Call("IsEventOwner", player, true)); example private bool CanPurchase(BasePlayer player) { if (IsEventOwner(player)) { player.ChatMessage("You cannot buy multiple raids."); return false; } return true; }
  11. nivex

    Raidable Bases

    @RR_Tappi hi, not sure, I haven't changed this delete your language file and try again edit: ya just checked and prices are displayed.
  12. nivex

    Raidable Bases

    @StrongWolves ah yeah, that's not a cooldown. that's a player lockout. cooldowns are for buyable events via Buyable Cooldowns. lockouts are for public events (maintained/scheduled/manually spawned) via Player Lockouts your nightmare events have no player lockout. I thought it did, I assume that's intended? so, in short, you need this option added to RealPVE then it will behave as expected using Player Lockouts.
  13. nivex

    Raidable Bases

    @StrongWolves I understand the issue just fine you still need an option to disable that functionality in RealPVE and your players must use /buyraid command. it's not optional. buyable cooldowns will only function when you buy the raid in raidablebases, not from some other plugin. unless that plugin issues the same command and RealPVE does not do that, it bypasses it.
  14. nivex

    Raidable Bases

    @StrongWolves I'm not on discord until later tonight. I'm actually stepping out now but I wanted to answer you first. yes, he has this functionality inside of his OnPlayerEnteredRaidableBase hook which is provided by my plugin. all that's need is an option added to line 8111 that can skip that purchase. and your players will need to purchase with the /buyraid command.
  15. nivex

    Raidable Bases

    @StrongWolves gotcha, I've looked and there is no option to disable it inside of his OnPlayerEnteredRaidableBase hook so you'll have to ask him to add an option so you can disable it. I can't tell you what code to remove in his plugin in the mean time because his license doesn't allow it.
  16. nivex

    Raidable Bases

    @StrongWolves hi, you will have to disable that option in your RealPVE config. players must purchase with the buyraid command in order to receive a cooldown from RaidableBases. any plugin bypassing this must use its own cooldowns
  17. nivex

    Raidable Bases

    @laoduwith what arguments for this API? this exists already for all events, but its not specific to buyable. [HookMethod("GetAllEvents")] public List<(Vector3 pos, string mode, int level, bool allowPVP, string a, float b, float c, float loadTime, ulong ownerId, BasePlayer owner, List<BasePlayer> raiders, List<BasePlayer> intruders, HashSet<BaseEntity> entities, string baseName, DateTime spawnDateTime, DateTime despawnDateTime, float radius, int lootRemaining)> GetAllEvents(Vector3 position, float x = 0f) { return new(Raids.Select(raid => (raid.Location, raid.Options.Mode, raid.Options.Level, raid.AllowPVP, raid.ID, 0f, 0f, raid.loadTime, raid.ownerId, raid.GetOwner(), raid.GetRaiders(), raid.GetIntruders(), raid.Entities, raid.BaseName, raid.spawnDateTime, raid.despawnDateTime, raid.ProtectionRadius, raid.GetLootAmountRemaining()))); }
  18. nivex

    Raidable Bases

    3.1.3 released to fix an issue introduced in 3.1.2 where enemy players were not ejected from events, enjoy
  19. nivex

    Raidable Bases

    @StrongWolves heya, nightmare is only set to a 60 second cooldown for buyable events. "Nightmare": { "VIP Permission: raidablebases.vipcooldown": 60.0, "Admin Permission: raidablebases.allow": 60.0, "Server Admins": 60.0, "Normal Users": 60.0 } you're blocked from purchasing with /buyraid when you have a buyable cooldown unless you have the bypass permission, raidablebases.buyable.bypass.cooldown. you don't enter raids to purchase them though. you buy them with /buyraid, let them spawn, walk to them, then enter. the cooldown only prevents you from purchasing a raid, not from entering a raid. player lockouts is not the same, that option is for public events and you have each set to 1 hour but remember your buyable cooldown for nightmare is only set to 60 seconds. buyable cooldowns = private events (/buyraid) player lockouts = public events (maintained/scheduled/manual) RealPVE plugin has its own behavior for this which bypasses mine so that plugin handles all of it. meaning it has an option where you enter an existing raid in order to purchase it.
  20. nivex

    The weapon breaks after repair

    hi, that option is in the profiles, oxide/data/RaidableBases/Profiles/ set to false, Block Plugins Which Prevent Item Durability Loss no one can repair with it enabled, that's how it should work. it's going to put the condition right back to what it was before you repaired it.
  21. nivex

    Raidable Bases

    Hi, 3.1.2 has been released This requires the Rust update to compile, enjoy
  22. nivex

    Raidable Bases

    @Painfully Ordinary hi, profiles: Allow Players To Deploy A Cupboard is in the profiles config: Destroying The Cupboard Completes The Raid Require Cupboard To Be Looted Before Completion you can't take permanent ownership of a base though
  23. nivex

    Hello

    Changed Status from Pending to Closed
  24. nivex

    Hello

    youre welcome, enjoy!
  25. nivex

    Hello

    hi, i answered Cooldown Between Events. set to 600 for 10 minutes max between events. those values are not default. 36000 and 360000 are not realistic so you should change all of them. 3600 is the default for 1 hour. or set to 600 for 10 minutes.

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
2.5m
Total downloads
Customers
11.3k
Customers served
Files Sold
161.1k
Total sales
Payments
3.5m
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.