Jump to content

2 Screenshots

This area is intended for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



Scalbox

Posted

So the best thing is that players, in the rust settings, change the setting to not receive beds from other players or receive them only from clan members.
This problem occurs both with the plugin and without the plugin.
it is a rust mechanism.
In any case if you want I can put a setting in the plugin, where you can decide if players can assign beds or not, so you decide and you can block the assign of beds

TheRustingDead

Posted

That is not necessary I think, I already have that guidance in place. Thanks for the suggestion, I will brainstorm a bit and see if there is a way to warn/guide players better in that regard.

Scalbox

Posted

5 minutes ago, TheRustingDead said:

That is not necessary I think, I already have that guidance in place. Thanks for the suggestion, I will brainstorm a bit and see if there is a way to warn/guide players better in that regard.

For me it is not a problem to add this option in the plugin, it is a quick change to make, if you need it let me know and I will update the plugin

TheRustingDead

Posted

I appreciate the offer, I will take it that would be great!

Scalbox

Posted

2 minutes ago, TheRustingDead said:

I appreciate the offer, I will take it that would be great!

I'll release a plugin update in a few hours

  • Like 1
Scalbox

Posted

5 hours ago, TheRustingDead said:

I appreciate the offer, I will take it that would be great!

Plugin updated, version 1.1.1

Adeed field: "Disable Bag Gifting. Default false": false

  • Like 1
TheRustingDead

Posted

9 hours ago, Scalbox said:

Plugin updated, version 1.1.1

Adeed field: "Disable Bag Gifting. Default false": false

Thank you so much, very fast turn around. I appreciate it very much.

Budapeshter

Posted (edited)

Failed to call internal hook 'OnActiveItemChanged' on plugin 'UltimateBeds v1.1.1' [2268037981] (Sequence contains no matching element)

at string System.Linq.Enumerable.First<string>(IEnumerable<string> source, Func<string, bool> predicate)

at RolePermission Oxide.Plugins.UltimateBeds.GetPlayerRolePermission(ulong steamID) in C:/Users/Administrator/Desktop/SERVER CARBON/carbon/plugins/UltimateBeds.cs:line 878

at bool Oxide.Plugins.UltimateBeds.CanChangeBagsRange(BasePlayer player) in C:/Users/Administrator/Desktop/SERVER CARBON/carbon/plugins/UltimateBeds.cs:line 441

at void Oxide.Plugins.UltimateBeds.OnActiveItemChanged(BasePlayer player, Item oldItem, Item newItem) in C:/Users/Administrator/Desktop/SERVER CARBON/carbon/plugins/UltimateBeds.cs:line 232

at object Oxide.Plugins.UltimateBeds.InternalCallHook(uint hook, object[] args) in UltimateBeds.cs/Internal:line 108

(15:06:12) | [UltimateBeds] Exception: Sequence contains no matching element

(15:06:12) | [UltimateBeds] Exception: Sequence contains no matching element

(15:06:12) | [UltimateBeds] Exception: Sequence contains no matching element

(15:06:12) | [UltimateBeds] Exception: Sequence contains no matching element

(15:06:12) | [UltimateBeds] Exception: Sequence contains no matching element

Carbon.

{
  "RolePermission": {
    "default": {
      "Player Max Sleeping Bag/Bed limit": 150,
      "Sleeping bag unlock time after placed": 30,
      "Bed unlock time after placed": 30,
      "Sleeping bag respawn cooldown": 45,
      "Bed respawn cooldown": 45,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50
    },
    "vip": {
      "Player Max Sleeping Bag/Bed limit": 200,
      "Sleeping bag unlock time after placed": 30,
      "Bed unlock time after placed": 30,
      "Sleeping bag respawn cooldown": 30,
      "Bed respawn cooldown": 30,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50
    },
    "elite": {
      "Player Max Sleeping Bag/Bed limit": 250,
      "Sleeping bag unlock time after placed": 15,
      "Bed unlock time after placed": 10,
      "Sleeping bag respawn cooldown": 20,
      "Bed respawn cooldown": 20,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50
    },
    "alpha": {
      "Player Max Sleeping Bag/Bed limit": 300,
      "Sleeping bag unlock time after placed": 10,
      "Bed unlock time after placed": 10,
      "Sleeping bag respawn cooldown": 10,
      "Bed respawn cooldown": 10,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 45,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 45
    },
    "meganfox": {
      "Player Max Sleeping Bag/Bed limit": 500,
      "Sleeping bag unlock time after placed": 5,
      "Bed unlock time after placed": 5,
      "Sleeping bag respawn cooldown": 0,
      "Bed respawn cooldown": 0,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 30,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 30
    }
  },
  "VersionNumber": {
    "Major": 1,
    "Minor": 0,
    "Patch": 8
  }
}

Edited by Budapeshter
Scalbox

Posted (edited)

 

9 minutes ago, Budapeshter said:

Failed to call internal hook 'OnActiveItemChanged' on plugin 'UltimateBeds v1.1.1' [2268037981] (Sequence contains no matching element)

at string System.Linq.Enumerable.First<string>(IEnumerable<string> source, Func<string, bool> predicate)

at RolePermission Oxide.Plugins.UltimateBeds.GetPlayerRolePermission(ulong steamID) in C:/Users/Administrator/Desktop/SERVER CARBON/carbon/plugins/UltimateBeds.cs:line 878

at bool Oxide.Plugins.UltimateBeds.CanChangeBagsRange(BasePlayer player) in C:/Users/Administrator/Desktop/SERVER CARBON/carbon/plugins/UltimateBeds.cs:line 441

at void Oxide.Plugins.UltimateBeds.OnActiveItemChanged(BasePlayer player, Item oldItem, Item newItem) in C:/Users/Administrator/Desktop/SERVER CARBON/carbon/plugins/UltimateBeds.cs:line 232

at object Oxide.Plugins.UltimateBeds.InternalCallHook(uint hook, object[] args) in UltimateBeds.cs/Internal:line 108

(15:06:12) | [UltimateBeds] Exception: Sequence contains no matching element

(15:06:12) | [UltimateBeds] Exception: Sequence contains no matching element

(15:06:12) | [UltimateBeds] Exception: Sequence contains no matching element

(15:06:12) | [UltimateBeds] Exception: Sequence contains no matching element

(15:06:12) | [UltimateBeds] Exception: Sequence contains no matching element

Carbon.

{
  "RolePermission": {
    "default": {
      "Player Max Sleeping Bag/Bed limit": 150,
      "Sleeping bag unlock time after placed": 30,
      "Bed unlock time after placed": 30,
      "Sleeping bag respawn cooldown": 45,
      "Bed respawn cooldown": 45,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50
    },
    "vip": {
      "Player Max Sleeping Bag/Bed limit": 200,
      "Sleeping bag unlock time after placed": 30,
      "Bed unlock time after placed": 30,
      "Sleeping bag respawn cooldown": 30,
      "Bed respawn cooldown": 30,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50
    },
    "elite": {
      "Player Max Sleeping Bag/Bed limit": 250,
      "Sleeping bag unlock time after placed": 15,
      "Bed unlock time after placed": 10,
      "Sleeping bag respawn cooldown": 20,
      "Bed respawn cooldown": 20,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50
    },
    "alpha": {
      "Player Max Sleeping Bag/Bed limit": 300,
      "Sleeping bag unlock time after placed": 10,
      "Bed unlock time after placed": 10,
      "Sleeping bag respawn cooldown": 10,
      "Bed respawn cooldown": 10,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 45,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 45
    },
    "meganfox": {
      "Player Max Sleeping Bag/Bed limit": 500,
      "Sleeping bag unlock time after placed": 5,
      "Bed unlock time after placed": 5,
      "Sleeping bag respawn cooldown": 0,
      "Bed respawn cooldown": 0,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 30,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 30
    }
  },
  "VersionNumber": {
    "Major": 1,
    "Minor": 0,
    "Patch": 8
  }
}

you can't change the names of the groups, they must be
default
vip1
vip2
vip3.

There will be an update coming soon that allows you to change the name of the groups and add more

Edited by Scalbox
Budapeshter

Posted

1 hour ago, Scalbox said:

 

you can't change the names of the groups, they must be
default
vip1
vip2
vip3.

There will be an update coming soon that allows you to change the name of the groups and add more

I understand, it's just not convenient, if I want to make vip4 or vip5, it won't work.

Scalbox

Posted

1 hour ago, Budapeshter said:

I understand, it's just not convenient, if I want to make vip4 or vip5, it won't work.

There will be an update coming soon that allows you to change the name of the groups and add more

  • Love 2
Scalbox

Posted

12 hours ago, Budapeshter said:

I understand, it's just not convenient, if I want to make vip4 or vip5, it won't work.

Plugin updated, version 1.1.2

1) Added: Ability to create new groups and/or modify existing groups

2) Added: Possibility to exclude beds placed in campers from the bed limit count

  • Love 1
Scalbox

Posted

1 hour ago, TheRustingDead said:

Wow! Super cool, thanks again!

Let me know if everything works

Budapeshter

Posted

Chat commands do not work (I enter /ub and there is no error and no information)
Also priority doesn't work, I set default 100 (as it was) on the highest privilege 1, as a result the highest privilege CD default 30 seconds when it shouldn't be at all.


{
  "Chat Command": [
    "ub",
    "ultimatebeds"
  ],
  "Chat Prefix": "<color=#00e38c>BOT</color> ->",
  "Disable Bag Gifting. Default false": false,
  "RolePermission": {
    "meganfox": {
      "Priority. (lower = higher priority)": 1,
      "Player Max Sleeping Bag/Bed limit": 500,
      "Exclude camper beds from the limit. Default false": false,
      "Sleeping bag unlock time after placed": 0,
      "Bed unlock time after placed": 0,
      "Sleeping bag respawn cooldown": 0,
      "Bed respawn cooldown": 0,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 40,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 40,
      "Sleeping Bag Decay Settings": {
        "Enable Custom Decay. Default: false": false,
        "Disable Decay. Default: false": false,
        "Delay before decay starts. Default: 24 hours": 24,
        "Duration of decay. Default: 12 hours": 12
      }
    },
    "omega": {
      "Priority. (lower = higher priority)": 2,
      "Player Max Sleeping Bag/Bed limit": 300,
      "Exclude camper beds from the limit. Default false": false,
      "Sleeping bag unlock time after placed": 10,
      "Bed unlock time after placed": 10,
      "Sleeping bag respawn cooldown": 10,
      "Bed respawn cooldown": 10,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50,
      "Sleeping Bag Decay Settings": {
        "Enable Custom Decay. Default: false": false,
        "Disable Decay. Default: false": false,
        "Delay before decay starts. Default: 24 hours": 24,
        "Duration of decay. Default: 12 hours": 12
      }
    },
    "elite": {
      "Priority. (lower = higher priority)": 3,
      "Player Max Sleeping Bag/Bed limit": 250,
      "Exclude camper beds from the limit. Default false": false,
      "Sleeping bag unlock time after placed": 20,
      "Bed unlock time after placed": 20,
      "Sleeping bag respawn cooldown": 20,
      "Bed respawn cooldown": 20,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50,
      "Sleeping Bag Decay Settings": {
        "Enable Custom Decay. Default: false": false,
        "Disable Decay. Default: false": false,
        "Delay before decay starts. Default: 24 hours": 24,
        "Duration of decay. Default: 12 hours": 12
      }
    },
    "vip": {
      "Priority. (lower = higher priority)": 4,
      "Player Max Sleeping Bag/Bed limit": 200,
      "Exclude camper beds from the limit. Default false": false,
      "Sleeping bag unlock time after placed": 30,
      "Bed unlock time after placed": 30,
      "Sleeping bag respawn cooldown": 30,
      "Bed respawn cooldown": 25,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50,
      "Sleeping Bag Decay Settings": {
        "Enable Custom Decay. Default: false": false,
        "Disable Decay. Default: false": false,
        "Delay before decay starts. Default: 24 hours": 24,
        "Duration of decay. Default: 12 hours": 12
      }
    },
    "default": {
      "Priority. (lower = higher priority)": 100,
      "Player Max Sleeping Bag/Bed limit": 150,
      "Exclude camper beds from the limit. Default false": false,
      "Sleeping bag unlock time after placed": 30,
      "Bed unlock time after placed": 30,
      "Sleeping bag respawn cooldown": 45,
      "Bed respawn cooldown": 45,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50,
      "Sleeping Bag Decay Settings": {
        "Enable Custom Decay. Default: false": false,
        "Disable Decay. Default: false": false,
        "Delay before decay starts. Default: 24 hours": 24,
        "Duration of decay. Default: 12 hours": 12
      }
    }
  },
  "VersionNumber": {
    "Major": 1,
    "Minor": 1,
    "Patch": 2
  }
}

Scalbox

Posted

the lower the priority, the more important that permission is, so if you set priority to 100 but you also have another permission with a lower priority than 100, for example 1, the permission with priority 1 will be used and not 100

Scalbox

Posted

to use /ub you must have admin permission

Scalbox

Posted

56 minutes ago, Budapeshter said:

Chat commands do not work (I enter /ub and there is no error and no information)
Also priority doesn't work, I set default 100 (as it was) on the highest privilege 1, as a result the highest privilege CD default 30 seconds when it shouldn't be at all.


{
  "Chat Command": [
    "ub",
    "ultimatebeds"
  ],
  "Chat Prefix": "<color=#00e38c>BOT</color> ->",
  "Disable Bag Gifting. Default false": false,
  "RolePermission": {
    "meganfox": {
      "Priority. (lower = higher priority)": 1,
      "Player Max Sleeping Bag/Bed limit": 500,
      "Exclude camper beds from the limit. Default false": false,
      "Sleeping bag unlock time after placed": 0,
      "Bed unlock time after placed": 0,
      "Sleeping bag respawn cooldown": 0,
      "Bed respawn cooldown": 0,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 40,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 40,
      "Sleeping Bag Decay Settings": {
        "Enable Custom Decay. Default: false": false,
        "Disable Decay. Default: false": false,
        "Delay before decay starts. Default: 24 hours": 24,
        "Duration of decay. Default: 12 hours": 12
      }
    },
    "omega": {
      "Priority. (lower = higher priority)": 2,
      "Player Max Sleeping Bag/Bed limit": 300,
      "Exclude camper beds from the limit. Default false": false,
      "Sleeping bag unlock time after placed": 10,
      "Bed unlock time after placed": 10,
      "Sleeping bag respawn cooldown": 10,
      "Bed respawn cooldown": 10,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50,
      "Sleeping Bag Decay Settings": {
        "Enable Custom Decay. Default: false": false,
        "Disable Decay. Default: false": false,
        "Delay before decay starts. Default: 24 hours": 24,
        "Duration of decay. Default: 12 hours": 12
      }
    },
    "elite": {
      "Priority. (lower = higher priority)": 3,
      "Player Max Sleeping Bag/Bed limit": 250,
      "Exclude camper beds from the limit. Default false": false,
      "Sleeping bag unlock time after placed": 20,
      "Bed unlock time after placed": 20,
      "Sleeping bag respawn cooldown": 20,
      "Bed respawn cooldown": 20,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50,
      "Sleeping Bag Decay Settings": {
        "Enable Custom Decay. Default: false": false,
        "Disable Decay. Default: false": false,
        "Delay before decay starts. Default: 24 hours": 24,
        "Duration of decay. Default: 12 hours": 12
      }
    },
    "vip": {
      "Priority. (lower = higher priority)": 4,
      "Player Max Sleeping Bag/Bed limit": 200,
      "Exclude camper beds from the limit. Default false": false,
      "Sleeping bag unlock time after placed": 30,
      "Bed unlock time after placed": 30,
      "Sleeping bag respawn cooldown": 30,
      "Bed respawn cooldown": 25,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50,
      "Sleeping Bag Decay Settings": {
        "Enable Custom Decay. Default: false": false,
        "Disable Decay. Default: false": false,
        "Delay before decay starts. Default: 24 hours": 24,
        "Duration of decay. Default: 12 hours": 12
      }
    },
    "default": {
      "Priority. (lower = higher priority)": 100,
      "Player Max Sleeping Bag/Bed limit": 150,
      "Exclude camper beds from the limit. Default false": false,
      "Sleeping bag unlock time after placed": 30,
      "Bed unlock time after placed": 30,
      "Sleeping bag respawn cooldown": 45,
      "Bed respawn cooldown": 45,
      "Sleeping Bag Range: Radius within which to check other Sleeping Bags placed. Default: 50 (lower = more Sleeping Bags close to each other)": 50,
      "Bed Range: Radius within which to check other Beds placed. Default: 50 (lower = more Beds close to each other)": 50,
      "Sleeping Bag Decay Settings": {
        "Enable Custom Decay. Default: false": false,
        "Disable Decay. Default: false": false,
        "Delay before decay starts. Default: 24 hours": 24,
        "Duration of decay. Default: 12 hours": 12
      }
    }
  },
  "VersionNumber": {
    "Major": 1,
    "Minor": 1,
    "Patch": 2
  }
}

just tried it and everything works....

 

  • Like 1
Budapeshter

Posted

22 minutes ago, Scalbox said:

to use /ub you must have admin permission

I gave permission, the command doesn't work when typed. But I haven't cleaned the local files, maybe that's it?
I have tested several times on oxide.
In the video you only show the cooldown limits, but my cooldown is not working .
And by the way, the notification (blue bar) does not appear.

I'll check tomorrow by cleaning the old data and update to the new version, maybe that's it

Scalbox

Posted

3 minutes ago, Budapeshter said:

I gave permission, the command doesn't work when typed. But I haven't cleaned the local files, maybe that's it?
I have tested several times on oxide.
In the video you only show the cooldown limits, but my cooldown is not working .
And by the way, the notification (blue bar) does not appear.

I'll check tomorrow by cleaning the old data and update to the new version, maybe that's it

 

ok let me know, and verify that the permissions are assigned.
As you can see from the video everything works, the values are taken based on the permission

I will also make a video for the cooldown

Scalbox

Posted

4 hours ago, Budapeshter said:

I gave permission, the command doesn't work when typed. But I haven't cleaned the local files, maybe that's it?
I have tested several times on oxide.
In the video you only show the cooldown limits, but my cooldown is not working .
And by the way, the notification (blue bar) does not appear.

I'll check tomorrow by cleaning the old data and update to the new version, maybe that's it

I re-did the test where you can clearly see that everything works

1) the maximum number of beds
2) Sleeping bag unlock time after placed
2) Sleeping bag respawn cooldown

Everything works without problems with the various permissions and using your configuration


 

  • Like 1
Budapeshter

Posted

Hi.In the new version, I give permissions to groups, but the timers are not applied until I reload the plugin o.reload .
After reloading, the player permission is applied.
As soon as a player leaves the VIP group to the default group, the timers stay with the player from the VIP group and this lasts until I reload the plugin again .

Scalbox

Posted

10 minutes ago, Budapeshter said:

Hi.In the new version, I give permissions to groups, but the timers are not applied until I reload the plugin o.reload .
After reloading, the player permission is applied.
As soon as a player leaves the VIP group to the default group, the timers stay with the player from the VIP group and this lasts until I reload the plugin again .

open support ticket, nd send yor config file.

Thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 1

User Feedback

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.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.