Vip Shuffle

$7.99

Sold by: RustFlash
Shuffle your online players and reward them with a free VIP with Vip Shuffle!

Description

unreleased plugins only discord

Maybe you are interested in free plugins or you are interested in early updates, please have a look at my Discord and choose the role FLASH when joining. https://discord.gg/2ftdtaTQ6S

Vip Shuffle

A little event for your players!

Reward your players and give something back! With this plugin, you can make a random player happy!


Functions

You can start the VIP shuffle event with the following command:

/flashvipshuffle

From version 1.4.0 you can now create a shedule to start and automate the VIPShuffle at a specific time period:

flashvipshuffle

 

To start the event, you need the authorization:

vipshuffle.check

 

This permission is used to check if a player has the right to execute the VipShuffle command /flashvipshuffle. If a player does not have this permission, they are informed that they do not have the required permission.

 

 

Config (new, You can now exclude certain user roles from the competition)

{
“ExcludedGroups”: [
“owner”,
“admin”,
“vip”
],
“VipCommand”: “addgroup {0} vip 7d”
}

If you want to pay out VIP for certain days via the console, you need the free plugin Timed Permissions.

Load, run, enjoy 💝

 

Reviews

There are no reviews yet.


Only logged in customers who have purchased this product may leave a review.

Version 1.6.0 | Updated August 3, 2024
  • Added - BasePlayer.ActivePlayerList.ToList() is now used to create a copy of the player list. - The excluded groups are cached in a HashSet at server startup. - Added error handling for the VIP command. - String interpolation ($“”) is now used throughout. - nameof() is used for the authorization constant. Overall, the code is now: - Better performance: using ToList() creates a copy of the player list, preventing issues with concurrent changes. - More efficient group management: By caching the excluded groups in a HashSet, repeated configuration calls are reduced. - More robust error handling: Error handling for the VIP command has been added, which increases the stability of the plugin. - Improved readability: By using string interpolation and nameof(), the code is easier to read and maintain. - Slightly optimized performance: The use of LINQ methods in IsEligiblePlayer can lead to a slight performance improvement in certain scenarios.
Version 1.4.0 | Updated April 19, 2024
  • Added :new: **| Changelogs v.1.4.0** ➔ | Console Command "flashvipshuffle" added for more possibilities such as creating a shedule ➔ | Fixed some errors when loading the configuration that led to a NullReferenceException ➔ | Error handling and more robust configuration initialisation for more reliable performance
Version 1.2.2 | Updated March 10, 2024
  • Added 🆕 | Changelogs v.1.2.2 ➔ | Direct initialisation of the excludedGroups list from the configuration in the OnServerInitialized() method to avoid potential NullReferenceException errors.
Version 1.2.0 | Updated February 27, 2024
  • Added 🆕| Changelogs v.1.2.0 ➔ | Improved exclusion functionality: Added functionality to exclude certain groups of players from participating in the shuffling process. ➔ | Configuration Improvement: Introduced a configuration option to specify excluded groups. ➔ | Bug Fix: Fixed issue where excluded groups were not properly accounted for to ensure fairness in the mixing process. ➔ | Error handling: Implemented error messages for cases where no eligible players are found to participate in the shuffle. ➔ | Refactoring: Optimizing code structure and improving readability for easier maintenance and future updates.
Version 1.0.8 | Updated February 8, 2024
  • Added 🆕| Changelogs update v. 1.0.8 ➔ | Added: Implementation of the `vipshuffle.grant` permission to ensure that only players with this permission can participate in the competition. ➔ | Changed: Use LINQ query `.Where()` instead of `.FindAll()` for filtering eligible players based on `vipshuffle.grant` permission. ➔ | Added: Importing the `System.Linq` namespace for use with LINQ queries.

5 thoughts on "Vip Shuffle"

Leave a Reply to Nicholas Whitehouse
Verified owner
Cancel reply

Your email address will not be published. Required fields are marked *

  1. Hello got this today after using the /flashvipshuffle command it picks someone but does not assign them to my vip group. Please advise as would like to use this plugin cool idea

  2. Hello I have an error Failed to call hook ‘OnServerInitialized’ on plugin ‘VipShuffle v1.2.0’ (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Core.Configuration.DynamicConfigFile.ConvertValue (System.Object value, System.Type destinationType) [0x0003c] in :0
    at Oxide.Core.Configuration.DynamicConfigFile.ConvertValue[T] (System.Object value) [0x00000] in :0
    at Oxide.Core.Configuration.DynamicConfigFile.Get[T] (System.String[] path) [0x00008] in :0
    at Oxide.Plugins.VipShuffle.OnServerInitialized () [0x0003f] in :0
    at Oxide.Plugins.VipShuffle.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in :0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

    • Thanks I see what is causing the error.
      Can you tell me when the error occurred?

      What did you do to get this error message?

      I’ll fix it in the next update!

Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?

• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.

Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA

• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.

Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.

Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)

Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)

Product Enquiry

Please Login to make enquiry about this product