Jump to content

Yac Vaguer

Creator
  • Posts

    330
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Yac Vaguer

  1. Check what is the SkinId and if the skin Id is the same as the one you use in the config file There was a change of the skinID in the latest release so you might be giving a wrong item
  2. I made a small plugin that use the command `/bob` (for bob the constructor) to show you which base you can actually build based on your permissions. If you feel it you can include it on your plugin using System.Collections.Generic; using Newtonsoft.Json; using Oxide.Core; using Oxide.Core.Plugins; using Rust; namespace Oxide.Plugins { [Info("Bob", "Yac Vaguer", "1.0.0")] [Description("Shows available bases for a player based on their permissions when using /bob")] public class Bob : RustPlugin { private PluginConfig config; private void Init() { foreach (var baseEntry in config.Bases) { if (!permission.PermissionExists(baseEntry.Permission, this)) permission.RegisterPermission(baseEntry.Permission, this); } } protected override void LoadDefaultConfig() { config = new PluginConfig() { Bases = new List<BaseEntry> { new BaseEntry { Name = "Small Base", Permission = "personalbuilder.smallbase" }, new BaseEntry { Name = "Medium Base", Permission = "personalbuilder.mediumbase", }, new BaseEntry { Name = "Large Base", Permission = "personalbuilder.largebase" }, }, }; PrintWarning("Generating new configuration file for PersonalBuilder."); SaveConfig(); } protected override void LoadConfig() { base.LoadConfig(); try { config = Config.ReadObject<PluginConfig>(); if (config == null) { LoadDefaultConfig(); } } catch { PrintError("Could not load configuration, using defaults."); LoadDefaultConfig(); } } protected override void SaveConfig() => Config.WriteObject(config, true); [ChatCommand("bob")] private void BobCommand(BasePlayer player, string command, string[] args) { List<string> availableBases = new List<string>(); foreach (var baseEntry in config.Bases) { if (permission.UserHasPermission(player.UserIDString, baseEntry.Permission)) { availableBases.Add($"- <color=#3399FF>{baseEntry.Name}</color>"); } } if (availableBases.Count == 0) { SendReply(player, "Sorry, you don't have permission to build any base."); } else { string message = "You can build the following bases:\n" + string.Join("\n", availableBases); SendReply(player, message); } } private class PluginConfig { [JsonProperty("Bases")] public List<BaseEntry> Bases { get; set; } } private class BaseEntry { [JsonProperty("Name")] public string Name { get; set; } [JsonProperty("Permission")] public string Permission { get; set; } } } }
  3. Yac Vaguer

    WPKits not working

    Please delete, I moved the ticket to Welcome Panel Addons
  4. Yac Vaguer

    WPKits not working

    This is happening for a while but I couldn't make time to investigate properly Failed to call hook 'OnWelcomePanelPageOpen' on plugin 'WPKits v1.3.22' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.WPKits.ShowKits (BasePlayer player, System.Int32 page) [0x00278] in <c1c4e072878d4caba2fab219b7e30167>:0 at Oxide.Plugins.WPKits.OnWelcomePanelPageOpen (BasePlayer player, System.Int32 tab, System.Int32 page, System.String addon) [0x00017] in <c1c4e072878d4caba2fab219b7e30167>:0 at Oxide.Plugins.WPKits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0006a] in <c1c4e072878d4caba2fab219b7e30167>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9c80d821d00a44c9a24497c73ad2d20d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d646191a355d43a6b3ab36b7ee14c740>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d646191a355d43a6b3ab36b7ee14c740>:0
  5. is it possible to add a cost per build in some custom currency? For example to build a base it will cost 5RP or 500 of economy or 1000 scrap besides the materials.
  6. Yac Vaguer

    Not working

    Changed Status from Pending to No Response
  7. Yac Vaguer

    Not working

    I will assume that you have the latest version, can you turn on the verbose/developer mode in the config and share the full message?
  8. Yac Vaguer

    Not working

    This is related to the configuration file, run a JSON Lint validation you have plenty of them online or regenerate the configuration file
  9. Changed Status from Pending to Work in Progress Changed Fixed In to Next Version
  10. Sorry for the late reply, I confirm and the error exists. I will be releasing a fix soon. Thank you for reporting the issue
  11. Yac Vaguer

    Lian Yu 3500

    Hey man, the map is great, there are some bugs after November update, it seems that is affecting hitboxes and some shores has water in wrong position I switched map and everything started working again, so I will assume is the map
  12. Changed Status from Pending to Not a Bug Changed Fixed In to 1.1.0
  13. You add it to whatever you want, remember that you have the short name supply.signal y el skin id That should be enough to add it to any Shop out there
    The map was cool when you can used but it seems that the designer doesn't have time to updated it so since over 2 months the map is not working making it the most expensive useless plugins/map I own For the price I was expecting something at the same level or better than Grubber, but nope. Clearly this type of actions will have a big impact on smaller map creators
  14. Probably custom no, but I'm working on Alpha loot for other plugin that later I can add here, maybe custom too. We will see
  15. Can you provide more info, like what happen on the event or anything? Please activate the verbose mode so we can get more information
  16. I will add it for next update
  17. Changed Status from Pending to Closed Changed Fixed In to Next Version
  18. I will add it in an upcoming version
  19. Changed Status from Pending to Closed Changed Fixed In to Next Version
  20. I love how they always try to take advantage of every small thing we add to the servers Let me see what I can do, same for the Water Treatment Event
  21. Sorry for the delay, you pointed me out this error before and I could't reproduce. I pushed the update with this fix
  22. Yac Vaguer

    Permission for use

    Changed Status from Pending to Closed
  23. Yac Vaguer

    Permission for use

    Changed Fixed In to 1.4.2
2m

Downloads

Total number of downloads.

9.5k

Customers

Total customers served.

138k

Files Sold

Total number of files sold.

2.9m

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.