Essentials Player Selecters Issue

I'm having a HUGE issue with my server! As you guys probably know, Essentials doesn't recognize player selectors (@a, @p, @s, etc.) I want to /eco give @s number if someone completes a specific task, but that wont work. Does anyone have a solution or workaround? I tried using a banknotes plugin, but it was outdated; and I imagine the rest aren't working either. My friend and I are attempting to create a datapack that will give people money for completing bounties, but it's challenging since Essentials plugins refuse to acknowledge player selectors. We attempted to use the Essentials Selectors Plugin, but the /eco command still will not work with selectors, despite being a part of Essentials. If you think of any creative solutions or plugins to solve this, let me know! We want to come up with several unique and fun ways to earn money besides just mining or grinding out farms, and this is challenging considering the requirement to type a specific player name.
47 Replies
Admincraft Meta
Admincraft Metaā€¢2y ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by teamcherrygames#0
Discount Milk
Discount Milkā€¢2y ago
What specific tasks? Mind giving a few examples?
Hallownest
HallownestOPā€¢2y ago
Yes, and it does not such as like /eco give @s 1000
Discount Milk
Discount Milkā€¢2y ago
No. You said you wanted to give people money for completing certain activities
Hallownest
HallownestOPā€¢2y ago
yes i do, what are you saying no to ohhh i understand
Discount Milk
Discount Milkā€¢2y ago
I asked for examples of those tasks...
Hallownest
HallownestOPā€¢2y ago
yeah my mistake i just woke up haha As an example, there are achievements in the datapack which would give you cash after completion which are all different things such as kill a husk or collect 64 wool we are also considering doing mini "boss" mobs that spawn every now and then which give you a decent amount of money
ProGamingDk
ProGamingDkā€¢2y ago
what would be spawning the mini bosses
Hallownest
HallownestOPā€¢2y ago
we currently have an okay solution which is player heads are unattainable by survival players, so completing an activity gives you a player head in the shape of a money bag which you may sell and thats an okay solution how exactly does this work? okay so it simply requires a player to be specified so like if i did /eco give @s 1000 that would not work, but /eco give Hallownest 1000 would work from what i recall it says something along the lines of not being a valid player the server is on 1.20.1 I'm not certain of the exact version but I might be able to check also, we are using EssentialsX v2.20.0 this was v1.7.1 and if no solid solution, not the end of the world because we have this, but like its just a tad scuffed what šŸ˜­ how is that with command API? let me try again one moment you mean just execute commands what about slightly more complex stuff like /execute at @p run execute as @a[distance=..100] run afk but i already have the selector tool installed šŸ˜¢ and it wasnt working before i believe its latest version that the host provides
ProGamingDk
ProGamingDkā€¢2y ago
update it manually
Hallownest
HallownestOPā€¢2y ago
i would try reinstalling them but it tends to screw up the economy whenever i mess with the files I'm using aternos, so it doesnt let you input your own plugins or certain files
ProGamingDk
ProGamingDkā€¢2y ago
ouch
Hallownest
HallownestOPā€¢2y ago
yes i know big ouch not a fan but its better than minehut
ProGamingDk
ProGamingDkā€¢2y ago
there are better free alternatives
Hallownest
HallownestOPā€¢2y ago
the server is too developed to switch
ProGamingDk
ProGamingDkā€¢2y ago
cant u download shit?
Hallownest
HallownestOPā€¢2y ago
unless i guess if i copied all the configs, world file and playerdata which would be a task but i suppose its possible
ProGamingDk
ProGamingDkā€¢2y ago
stay ignored
Hallownest
HallownestOPā€¢2y ago
what about eco give @s 1000
ProGamingDk
ProGamingDkā€¢2y ago
dw
Hallownest
HallownestOPā€¢2y ago
probably? lol what is your easy solution
QarthO
QarthOā€¢2y ago
Use a plugin šŸ˜Š
Hallownest
HallownestOPā€¢2y ago
for what that is already the solution i came up with lol its just a bit sccuffed we turned off the thing in config preventing you from selling named items so its just named like $100 or something it works its just a little goofy we would do bedrock but there are concerns of people hoarding it or building with it originally it was command blocks since those do nothing in survival thats true but then again i think the head just looks nicer thats why we switched on the subject of that solution, is there a plugin that can detect if you right click on an item kind of like how a carrot on a stick can i think so im just not experienced at all šŸ’€
ProGamingDk
ProGamingDkā€¢2y ago
also bad performance tbf
Hallownest
HallownestOPā€¢2y ago
because it would be great to just be able to right click the head and have it sell itself rather than make players manually type it out by the way the main reason why this is an issue is because i want to have a variety of tasks in the future that give money and in some cases it just seems more efficient to deliver it directly to their account still might get the command api anyways its not an intensive datapack šŸ˜­ i know people used skript on minehut if it works on minehut it probably will on aternos give me a sec
Hallownest
HallownestOPā€¢2y ago
No description
Hallownest
HallownestOPā€¢2y ago
theres tasks too not just bounties so some tasks are based off of achievements but i intend in the future for there to be other ways to get money like random boss spawn events, minigames, bets (1v1s) maybe not all of them well that is just plans for the future but if i had to guess it would just be set to a timer to spawn every so often and near a player with like spreadplayers or something depends on what you mean by custom like might give them more health custom armor and stuff but not like custom moves or anything to that level probably its just an idea so far its a dual effort i have a relatively minimal understanding of commands, but enough to get me by are you suggesting we replace the datapack with this? how so? i havent had much of an issue with them is it just ram intensive or something
ProGamingDk
ProGamingDkā€¢2y ago
horrible for performance if they use command functions functions in general* entity selection is also horrible optimised
Hallownest
HallownestOPā€¢2y ago
do you think the command would actually work?
ProGamingDk
ProGamingDkā€¢2y ago
%player%? yes
entity selection is horribly optimised
Hallownest
HallownestOPā€¢2y ago
so if i want to do more apart from advancements, i can still use this for give commands and other things involving selectors right? thats true selecters just have a lot of practical uses so i thought i might need them eventually
ProGamingDk
ProGamingDkā€¢2y ago
essentials has some support for ** tbf
Hallownest
HallownestOPā€¢2y ago
well so far everything ive mentioned, minigames, combat based things yeah, not particularly, i just think there may be a point where they might be neccessitated i would run the server off my desktop but port forwarding is incompatible with my router what are its limitations permanently or temporarily shut it down? so just turn it back on and im fine? nope
QarthO
QarthOā€¢2y ago
Well, another option is to find a plugin that rewards based off achievement. Since the datapack uses the vanilla achievement system and just adds custom ones you might be able to just listen for achievement compelted
Hallownest
HallownestOPā€¢2y ago
doesn't sound too complex unless it is? thats probably the plan
QarthO
QarthOā€¢2y ago
Idk off the top of my head a plugin for this. There might not be an existing one, but should be easy to implement
Hallownest
HallownestOPā€¢2y ago
wouldnt this work?
QarthO
QarthOā€¢2y ago
Oh this might be it lmao Just read the documentation he posted All ur answers are in there
Hallownest
HallownestOPā€¢2y ago
Alrighty Before closing this thread I'm just gonna experiment make sure everythings working to not waste resources but at least from what i understand I'm good to go
QarthO
QarthOā€¢2y ago
Sounds good šŸ™‚
Hallownest
HallownestOPā€¢2y ago
hello again i have run into a new issue lol We have a system for delivering players cash in the form of items now however we also need a system that can take money from them The main points are - A system that can detect if a player has enough money in their balance - A system that can take that money out of the player's balance
QarthO
QarthOā€¢2y ago
can u not just use essentials/vault eco?
ProGamingDk
ProGamingDkā€¢2y ago
deluxemenu with placeholders? well depends why u want to take the money from them
Hallownest
HallownestOPā€¢2y ago
/eco take 1000 @s does not work is that a plugin thats customizable
ProGamingDk
ProGamingDkā€¢2y ago
well u make the menus urself so yes
Hallownest
HallownestOPā€¢2y ago
it functions as a shop?
ProGamingDk
ProGamingDkā€¢2y ago
u could do that if u set it up for it and add each item manually or u could use a shop plugin

Did you find this page helpful?