Jump to content

4 Screenshots

  • 5k
  • 21
  • 662.37 kB
This area is intended for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments

Flith

Posted

Is there a way to configure this plugin to vote for events? for example i have both maze and roams plugins on my server would i be able to configure this so players can vote for certain events?

 

Mercury

Posted

17 hours ago, Flith said:

Is there a way to configure this plugin to vote for events? for example i have both maze and roams plugins on my server would i be able to configure this so players can vote for certain events?

 

You can add any description and any text to the voting, you can make them choose one of the events or a choice of several events, the whole voting is completely described by you

hc4stillo

Posted (edited)

Hi Mercury,
The idea in my head is simple and I hope to detail it well here.
Does this plugin allow you to run several polls and at the end of the positive result generate a command in the console?
Example:
1- The player writes the command "/vote 1" (activate drone patrol) Y/N
2- Show voting interface for 60 sec
3- If the positive votes are higher, allow you to configure a command to be executed in the console example "o.load IQDronePatrol"

I intend with this, that the players can activate any event, only if the majority agrees.

Edited by hc4stillo
hc4stillo

Posted (edited)

[09.29 23:32:48] Failed to initialize plugin 'IQSimpleVote v1.0.1' (UnauthorizedAccessException: Access to the path "/home/container/oxide/data/IQSystem/IQSimpleVote/VoteActive.json" is denied.)
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.IO.StreamWriter..ctor (System.String path) [0x00008] in <f98723dd4586469db5213ec59da723ca>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string)
  at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in <f98723dd4586469db5213ec59da723ca>:0 
  at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[T] (T config, System.Boolean sync, System.String filename) [0x0003f] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.DataFileSystem.WriteObject[T] (System.String name, T Object, System.Boolean sync) [0x00007] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x0000f] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Plugins.IQSimpleVote.ReadData () [0x0000b] in <a829f811b97445438800395851316fa8>:0 
  at Oxide.Plugins.IQSimpleVote.Init () [0x00006] in <a829f811b97445438800395851316fa8>:0 
  at Oxide.Plugins.IQSimpleVote.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002f2] in <a829f811b97445438800395851316fa8>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <beb2b64691c64e2b95b99491bd85442c>:0
[09.29 23:32:48] Unloaded plugin IQSimpleVote v1.0.1 by Mercury
[09.29 23:32:48] No previous version to rollback plugin: IQSimpleVote
[09.29 23:32:52] IQSimpleVote was compiled successfully in 1984ms

I solved it by creating the VoteActive.json file with empty content { }

 

I have 2 questions
1- In the description you do not mention any special command for the admin,

/vote.admin
/vote.key
/vote.start "key" 
/vote.stop


2- Is it possible to execute custom commands in the console after finishing the votes

Example:

image.png.f4f73a088a70e9a0f4bdae67a9c3d64b.png

config

image.png.9947e3c156bfa3d223ebc6230cdb5e35.png

 

Edited by hc4stillo
  • Love 1
Mercury

Posted

13 hours ago, hc4stillo said:

Hi Mercury,
The idea in my head is simple and I hope to detail it well here.
Does this plugin allow you to run several polls and at the end of the positive result generate a command in the console?
Example:
1- The player writes the command "/vote 1" (activate drone patrol) Y/N
2- Show voting interface for 60 sec
3- If the positive votes are higher, allow you to configure a command to be executed in the console example "o.load IQDronePatrol"

I intend with this, that the players can activate any event, only if the majority agrees.

Sounds good 🙂

hid333

Posted

I am considering purchasing this plugin.
I am thinking of holding a contest for drawings from RUST, personally created raidable bases, fashion, etc., and using this plugin to vote.
Is it possible for the plugin administrator to freely use any image they like, like the one shown in the screenshot?

Mercury

Posted

On 11/21/2024 at 5:48 AM, hid333 said:

I am considering purchasing this plugin.
I am thinking of holding a contest for drawings from RUST, personally created raidable bases, fashion, etc., and using this plugin to vote.
Is it possible for the plugin administrator to freely use any image they like, like the one shown in the screenshot?

Yes, of course, you can use any of your images, but keep in mind that you can make a limited number of choices for one vote, 6 voting options per page

  • Like 1
hid333

Posted

6 minutes ago, Mercury said:

Yes, of course, you can use any of your images, but keep in mind that you can make a limited number of choices for one vote, 6 voting options per page

I understanded that there are six options per page, but is it possible to have multiple pages of choices in one poll?
For example, if I want to vote with 10 options, I think I can create a two-page poll. Is that correct?

Mercury

Posted

On 11/24/2024 at 2:19 AM, hid333 said:

I understanded that there are six options per page, but is it possible to have multiple pages of choices in one poll?
For example, if I want to vote with 10 options, I think I can create a two-page poll. Is that correct?

This plugin was intended for small social surveys, I think creating pages will be too difficult for users and will spoil the user experience with interaction, because it will be difficult to evaluate work on different pages

Roberto.M

Posted

Will it be Compatible with Carbon ?

Mercury

Posted

18 hours ago, Roberto.M said:

Will it be Compatible with Carbon ?

I can't answer you for sure, I haven't tested it for compatibility with Carbon.

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 2

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.