[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


April 2026

S M T W T F S
   12 34
5 678910 11
12 131415161718
19 202122 23 24 25
26 27282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 29th, 2026 05:20 pm
Powered by Dreamwidth Studios