[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


May 2025

S M T W T F S
     1 23
45 6 78910
11 12 13 141516 17
1819 2021 22 2324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 23rd, 2025 03:28 pm
Powered by Dreamwidth Studios