Uses of Class
me.fami6xx.rpuniverse.core.locks.Lock
Packages that use Lock
Package
Description
-
Uses of Lock in me.fami6xx.rpuniverse.core.api
Methods in me.fami6xx.rpuniverse.core.api that return LockModifier and TypeMethodDescriptionLockCreatedEvent.getLock()Gets the lock that was created.LockDeletedEvent.getLock()Gets the lock that was deleted.LockDeniedEvent.getLock()Gets the lock that was interacted with.LockOpenedEvent.getLock()Gets the lock that was opened.Constructors in me.fami6xx.rpuniverse.core.api with parameters of type LockModifierConstructorDescriptionLockCreatedEvent(Lock lock)Constructs a new LockCreatedEvent.LockDeletedEvent(Lock lock)Constructs a new LockDeletedEvent.LockDeniedEvent(Lock lock, org.bukkit.entity.Player player)Constructs a newLockDeniedEvent.LockOpenedEvent(Lock lock, org.bukkit.entity.Player player, org.bukkit.event.block.Action action)Constructs a new LockOpenedEvent. -
Uses of Lock in me.fami6xx.rpuniverse.core.locks
Methods in me.fami6xx.rpuniverse.core.locks that return LockModifier and TypeMethodDescriptionLockHandler.createLock(org.bukkit.Location location, org.bukkit.Material shownMaterial, List<String> owners, String jobName, int minWorkingLevel)Create a lock at the specified location with the specified owners, job name, minimum working level, and shown material.LockHandler.getLockByLocation(org.bukkit.Location location)Returns the lock located at the specified location.LockHandler.getLockByUUID(UUID uuid)Returns the lock with the specified UUID.Methods in me.fami6xx.rpuniverse.core.locks that return types with arguments of type LockModifier and TypeMethodDescriptionLockHandler.getAllLocks()Returns a list of all locks managed by this handler.LockHandler.getLocksByJob(String jobName)Returns a list of locks associated with a specific job.LockHandler.getLocksByOwner(String owner)Returns a list of locks owned by the specified owner.Methods in me.fami6xx.rpuniverse.core.locks with parameters of type LockModifier and TypeMethodDescriptionvoidLockHandler.removeLock(Lock lock)Removes the specified lock from the list of locks. -
Uses of Lock in me.fami6xx.rpuniverse.core.misc
Methods in me.fami6xx.rpuniverse.core.misc with parameters of type LockModifier and TypeMethodDescriptionbooleanPlayerData.canOpenLock(Lock lock)Determines if the player can open a specified lock. -
Uses of Lock in me.fami6xx.rpuniverse.core.misc.datahandlers
Methods in me.fami6xx.rpuniverse.core.misc.datahandlers that return LockModifier and TypeMethodDescriptionLock[]IDataHandler.getAllLockData()Gets all the saved lock data.Lock[]JSONDataHandler.getAllLockData()Methods in me.fami6xx.rpuniverse.core.misc.datahandlers with parameters of type LockModifier and TypeMethodDescriptionvoidIDataHandler.removeLockData(Lock lock)Removes the lock data from the data handler.voidJSONDataHandler.removeLockData(Lock lock)booleanIDataHandler.saveLockData(Lock lock)Saves lockbooleanJSONDataHandler.saveLockData(Lock lock) -
Uses of Lock in me.fami6xx.rpuniverse.core.properties
Methods in me.fami6xx.rpuniverse.core.properties that return types with arguments of type LockModifier and TypeMethodDescriptionProperty.getAssociatedLocks()Gets the associated locks of the property.Methods in me.fami6xx.rpuniverse.core.properties with parameters of type LockModifier and TypeMethodDescriptionvoidAdds a lock to the property.voidProperty.removeLock(Lock lock)Removes a lock from the property.