• check_circle Advancements
  • check_circle Functions
  • 4,538 views, 2 today
  • 196 downloads, 0 today
  • 7
  • 5
  • 17
GParcade's Avatar GParcade
Level 29 : Expert Explorer
4
This is a universal Authorization data pack that you can configure in your own way


Its features:
Can create authorization room.
Anti-Auth-AFK
Sesion
Bungee support(beta)
VAC anti cheat support
Easy customizable message
Teleport normal localation and rotation after auth.
Three type auth(one on dev)

How to start using:
0.Install
  a.place datapack on #world_name#/datapacks
  b.if you install on server place datapack on main world (can find on server.properties) and set on
   server.properties
    function-permission-level=4
  it need to have datapack ability kick players
1.Register
  a.select type auth(0-pin,1-two pins)(/trigger wa-sec-type set "number")
  b.write pin/s (/trigger set-pin set "number") (/trigger set-pin2 set "number")
2.Login
  write pin/s (/trigger pin set "number") (/trigger pin2 set "number")

config.mcfunction
##enable: 0-off,1-on
scoreboard players set enable wa-settings 1

##block move?
scoreboard players set block_move wa-settings 1

##enable room?
scoreboard players set room wa-settings 1
scoreboard players set room-x wa-settings 0
scoreboard players set room-y wa-settings 4
scoreboard players set room-z wa-settings 0

##allow non authed player free move on room?
scoreboard players set room-free-move wa-settings 0

##back authed player on his pre-login position
scoreboard players set room-back wa-settings 1

##kick if stay afk on auth?
scoreboard players set afk wa-settings 1

##time allow afk (1sec=20ticks) (default 1minute(1200))
scoreboard players set afk-time wa-settings 1200

##kick if player write wrong password\pin (1,2,3,4,5,6=count wrong passwords on session 0-disable)
scoreboard players set wrong_kick wa-settings 5

##kick type (1-kick,2-ram overflow,3-ban,4-ip ban)
scoreboard players set kick wa-settings 1

##player sesion live (1sec=20ticks) (default 1hour(72000))
scoreboard players set session-live wa-settings 0

##bungee
scoreboard players set bungee wa-settings 0

#send auth message type(0-time,1-move,2-spam,another value-none)
scoreboard players set amessage wa-settings 0

#send auth message time
scoreboard players set atime wa-settings 100

#time to re register player(0-disable re-register ability)
scoreboard players set re-reg-time wa-settings 1200
Unistall
run command /function wannaauth:uninstall
remove datapack on datapacks folder
run command (singleplayer)/reload (moded/plugined server)/minecraft:reload
Now Upgrade Secure
Block droping items non authed players you can use datapack DreamEdit.
1.Select Auth region
2.select on tools "Regions"
3.create region and remember id
4.run commands
/data modify entity @e[limit=1,scores={de_region_id=#number#}] HandItems[0].tag.DreamEdit.border.perm.pickup_items set value 0
/data modify entity @e[limit=1,scores={de_region_id=#number#}] HandItems[0].tag.DreamEdit.border.perm.drop_items set value 0
And like a cherry on the cake, you can remove the owner from this region by the command
/scoreboard players reset @e[limit=1,scores={de_region_id=#number#}] de_region_own_idRemoving Owner Id not blocking you modifing region but blocking only droping items and pickup
CompatibilityMinecraft 1.13
toMinecraft 1.16
Tags

1 Update Logs

Update #1 : by GParcade 04/15/2020 9:55:35 amApr 15th, 2020

Fixed bugs: 3
security fix
bungee support(beta)
menu
log-out
re-register

Create an account or sign in to comment.

1
07/28/2020 6:48 am
Level 1 : New Miner
ArtemPRO__
ArtemPRO__'s Avatar
[10:47:37] [Worker-Main-2/ERROR]: Failed to load function wannaauth:settings/kickjava.util.concurrent.CompletionException:
java.lang.IllegalArgumentException: Whilst parsing command on line 1:
Unknown or incomplete command, see below for error at position 0:
<--[HERE]at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_262]at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) [?:1.8.0_262]at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) [?:1.8.0_262]at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596) [?:1.8.0_262]at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_262]at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_262]at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_262]at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:163) [?:1.8.0_262]Caused
by: java.lang.IllegalArgumentException: Whilst parsing command on line
1: Unknown or incomplete command, see below for error at position 0:
<--[HERE]at cw.a(SourceFile:62) ~[server.jar:?]at ut.a(SourceFile:84) ~[server.jar:?]at ut$$Lambda$2785/00000000E40505A0.get(Unknown Source) ~[?:?]at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_262]... 5 more
1
08/12/2020 2:49 am
Level 29 : Expert Explorer
GParcade
GParcade's Avatar
Crash? If not, that normal (this file is example, you can write in this file any commands run while "wanna auth" need kick player)
1
06/24/2020 12:32 am
Level 18 : Journeyman Miner
Fisicklix
Fisicklix's Avatar
Hey, hello i have a player that register without password and i cant reset it :C
1
05/10/2020 1:36 pm
Level 1 : New Miner
Dimatron74
Dimatron74's Avatar
A message with authorization commands does not appear. 20w19a. I hope for the release you fix it.
1
04/21/2020 2:23 am
Level 1 : New Miner
User3007402G
User3007402G's Avatar
Is it possible to turn on the spectator at the time of registration / authorization?
2
04/21/2020 6:27 am
Level 29 : Expert Explorer
GParcade
GParcade's Avatar
coming soon on 1.0.2
2
04/16/2020 11:24 amhistory
Level 1 : New Miner
iMaladec
iMaladec's Avatar
How to format English text to Russian?
2
04/16/2020 12:41 pm
Level 29 : Expert Explorer
GParcade
GParcade's Avatar
all messages placed on path
wannaauth/functions/settings/messages
and one
wannaauth/functions/settings/register_countue_operation.mcfunction
2
04/14/2020 5:07 pm
Level 1 : New Miner
iMaladec
iMaladec's Avatar
Either my hands are crooked, or problems with the datapack on 20w15a
2
04/15/2020 9:56 am
Level 29 : Expert Explorer
GParcade
GParcade's Avatar
fixed
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome