Search the Community
Showing results for tags 'essentials'.
-
editsign tp msg workbench skull nuke repair tpoffline compass anvil broadcast pay msgtoggle setworth world cartographytable clearinventory r setjail spawnmob me grindstone unlimited rtoggle settpr book payconfirmtoggle loom antioch sell clearconfirm time ext smithingtable fireball showkit mute tpaall broadcastworld stonecutter tpa tempban spawner mail toggleshout motd createkit tempbanip deljail hat togglejail ptime kitreset thunder powertool worth jails give depth tpaccept weather kick list tree paytoggle tphere gc (tps) more remove tpacancel itemdb tpohere delhome info lightning sudo itemlore tppos enderchest tpahere ice back itemname tpr powertooltoggle realname ignore jump afk unban kickall bigtree item fly backup unbanip speed rest near potion burn tpauto tpall rules firework seen customtext delkit suicide recipe invsee home eco playtime whois sethome balancetop vanish exp setspawn essentials pweather ban tpdeny feed spawn tptoggle setwarp kill tpohere heal disposal delwarp balance getpos kit top warpinfo enchant god kittycannon gamemode (gm[x]) warp banip ping beezooka condense break socialspy helpop nick
-
We're making a scoreboard with currencies on it and we're having issues with Essentials' economy displaying the way we need it to be displayed. We're trying to get it to be formatted into numbers like "$1M, $2B, $4T, $5Q" instead of the numbers being "$1000000" or "$2000000000" and so on. This is our code that at the moment that grabs the balance of the player and puts it on the leaderboard: on join: set {p} to placeholder "%%vault_eco_balance%%" from player set line 11 of player's scoreboard to "&8| &a$ &7» &a%{p}%" and, it works as intended to display the raw balance on the leaderboard. As shown in "Screenshot A" Then, we found a piece of skript which formats numbers. This piece of skript works for the other two currencies which are custom made by ourselves (as seen below in Yellow and Blue underneath the $ currency in "Screenshot B"). Below is the function that formats the numbers to the proper form we need them to be. function format(n: number) :: text: set {_data} to "SX,21|QT,18|Q,15|T,12|B,9|M,6|k,3" loop split {_data} at "|": set {_s::*} to split loop-value at "," {_n} >= 10 ^ {_s::2} parsed as number return "%{_n} / 10 ^ {_s::2} parsed as number%%{_s::1}%" return "%{_n}%" and this is the specific chunk of code where the function is used to display on the scoreboard: set line 10 of player's scoreboard to "&8| &e⛁ &7» &e%format({tokens::2::%player%})%" set line 9 of player's scoreboard to "&8| &b◎ &7» &b%format({tokens::%player%})%" However, when we use the function for the essentials currency in the same exact way, it breaks and says <none> This is the code used on the scoreboard to display the essentials currency: on join: set {p} to placeholder "%%vault_eco_balance%%" from player set line 11 of player's scoreboard to "&8| &a$ &7» &a%format2({p})%" and the outcome is what is seen in "Screenshot C" which is just <none> (I would like to note, you may notice that in the 4th set of code, it says "format2()" instead of the "format()" seen in the 2nd and 3rd set of code. I know this, we separated this essentials balance into a new skript file for us to be able to easily dissect and analyze the problem. This different skript simply just has a copy of the "format()" function but labelled "format2()" because multiples functions cannot have the same name. I also would like to note, this issue was happening before we moved the essentials balance code into a new skript file, so that would not be causing the issue. I will show the "function2()" code below just in case someone wants to see it): function format2(n: number) :: text: set {_data} to "SX,21|QT,18|Q,15|T,12|B,9|M,6|k,3" loop split {_data} at "|": set {_s::*} to split loop-value at "," {_n} >= 10 ^ {_s::2} parsed as number return "%{_n} / 10 ^ {_s::2} parsed as number%%{_s::1}%" return "%{_n}%" So, this is our issue in which the essentials currency won't format properly to the way we need it. We have tried different ways of using the function, notably differences in this "%format2({p})%" by adding, removing, and changing parentheses, brackets, and percent signs. Nothing seemed to work from what we tried so we would be extremely grateful if we could get help on this. Thank you again. (Credit to: Useful vanilla Skript functions - by EWS)
-
- skript help
- skript
-
(and 3 more)
Tagged with:
-
i am trying to make a skript where when you spawn, depending on what permission you have. on spawn: loop all players: loop-player has permission "prisoner": execute console command "/kit prisoner %player%" loop-player has permission "guard": execute console command "/kit guard %player%" i dont know why, but whenever i have either of those permissions, it doesnt even show up in console that it ran the kit command. can someone tell me how to fix it?
-
Hey so I have a shop GUI and have a bunch of different blocks I want people able to purchase. Except I don't know how to run it so that when someone clicks on the item in a GUI, it gives them a stack of that item and subtracts $500 from there balance. The plugins I use are: Essentials, EssentialsChat, EssentialsSpawn, Luckperms, PlotSquared, Skript (which is what I'm writing the code on), TuSKe*, Vault, Viaversion and lastly Worldedit lol
-
been reading other stuff on how to make the OPs name not red but i cant find it in the Console at all and just really confused
-
how do i let my friends use /home and other certain commands without making them op ??
- 2 replies
-
- plugin
- essentialsplugin
-
(and 1 more)
Tagged with:
-
#------------------------------------------------------------------------------------------------------- every 5 seconds: loop all players in world "plots": loop all blocks in radius 10 around loop-player: if loop-block is coal block: drop a coal at loop-block's position #------------------------------------------------------------------------------------------------------- every 5 seconds: loop all players in world "plots": loop all blocks in radius 10 around loop-player: if loop-block is iron block: drop a iron ingot at loop-block's position #------------------------------------------------------------------------------------------------------- every 5 seconds: loop all players in world "plots": loop all blocks in radius 10 around loop-player: if loop-block is gold block: drop a gold ingot at loop-block's position #------------------------------------------------------------------------------------------------------- every 5 seconds: loop all players in world "plots": loop all blocks in radius 10 around loop-player: if loop-block is diamond block: drop a diamond at loop-block's position #------------------------------------------------------------------------------------------------------- every 5 seconds: loop all players in world "plots": loop all blocks in radius 10 around loop-player: if loop-block is netherite block: drop a netherite ingot at loop-block's position #------------------------------------------------------------------------------------------------------- on craft of coal block: cancel event on craft of iron block: cancel event on craft of gold block: cancel event on craft of diamond block: cancel event on craft of netherite block: cancel event on craft of coal: cancel event on craft of iron ingot: cancel event on craft of gold ingot: cancel event on craft of diamond: cancel event on craft of netherite ingot: cancel event #[----------------------------------------------------------------------------------------------------------------] on break of coal block: if "%world%" contains "plots": cancel event set block to air drop iron block named "&b&lCoal &b&lGenerator" on break of iron block: if "%world%" contains "plots": cancel event set block to air drop iron block named "&b&lIron &b&lGenerator" on break of gold block: if "%world%" contains "plots": cancel event set block to air drop iron block named "&b&lGold &b&lGenerator" on break of diamond block: if "%world%" contains "plots": cancel event set block to air drop iron block named "&b&lDiamond &b&lGenerator" on break of netherite block: if "%world%" contains "plots": cancel event set block to air drop iron block named "&b&lNetherite &b&lGenerator" This is the code. I want the generator to upgrade when someone right-clicks it. For example, if i want an iron generator, i right-click the coal generator. But i want the upgrades to cost something from the essentials balance. I have plugins: EssentialsChat, EssentialsX, LuckPerms, PlotSquared v5, Skript, SkBee, skQuery, skRayFall, SkVault, Vault, WorldEdit
-
I can't give permissions to normal players on server. i want to add: - essentials.help - essentials.hat - essentials.spawn - essentials.chat.shout - essentials.itemdb - essentials.list - essentials.mail - essentials.msg - essentials.rules - essentials.suicide - essentials.sethome - essentials.home - essentials.tpa - essentials.tpaccept - essentials.tpdeny - essentials.warp To all players but it doesn't work on permissions.yml in /plugins/PermissionsEx. /pex commands don't work either... Can someone tell me how to modify this files ? >__< All plugins are downloaded from "plugins" section in Dashboard all permissions.yml file: groups: Gracz: options: default: true prefix: &3[Gracz] permissions: - modifyworld.* - essentials.help - essentials.hat - essentials.spawn - essentials.chat.shout - essentials.itemdb - essentials.list - essentials.mail - essentials.msg - essentials.rules - essentials.suicide - essentials.sethome - essentials.home - essentials.tpa - essentials.tpaccept - essentials.tpdeny - essentials.warp Admin: default: false prefix: &a[Admin] permissions: - '*' schema-version: 1
-
- essentials
- essentialsplugin
-
(and 1 more)
Tagged with:
-
Hello im hosting a towny server and would like to be able to use this plug-in. It is one of the best economy plugins in minecraft. Here's a link: https://wiki.mc-ess.net/wiki/Downloads
- 1 reply
-
- towny
- essentials
-
(and 3 more)
Tagged with:
-
I just started a minehut server and I downloaded a plugin called essentials that is supposed to have one person sleep, however, this option only works when the players have op. Is there anyway I could make it work without op?
- 7 replies
-
- problem
- essentials
-
(and 2 more)
Tagged with:
-
Hello I started a survival server 2 days ago. When I installed to plugin in the minehut website it didn't work in the server itself. When I tried to type in 1 of the commands they didn't show up in the text bar. Can anyone please help me with this problem? Thank you
-
i am starting a pvp server with my friend and neither one of us know how to change what the players who first join, spawn with. when they join for the first time they get stone items, instead i would like for them to spawn with an enchanted item that we make - does anyone know how to change and set this into place? thanks!