[personal profile] fardell24

Digital and Interactive Games 2015 – Term 3, Session 7
Today: - Player related events
Entity related event
Block ... event


EventTutorial

Location - world
x
y
z

message, spawn to jail
lobby
Arena


Listener
1) Create a Listener Class
2) In that State what event you are listening to.
3) In the OnEnable

– Login
→ PlayerJoinEvent
– Register the listener (login listener)


EventTutorial
Game
Plugin
Event Command
Plugin


.teupart(Location)

-PlayerJoinEvent
-Respawn Event


BlockBreakEvent


Add a new command “Kill them all”


Kill the mobs
Remove them
Cover with Lava


January 2026

S M T W T F S
     1 2 3
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 3rd, 2026 12:39 pm
Powered by Dreamwidth Studios