• Welcome
Top images in our screenshot gallery:
Become a Beta-Tester
Most recent version is

TheoTown is a city simulation game for Android, iOS and PC. Give it a try...

We have an awesome discord server at discord.gg/theotown. Let's chat together!

• Lua Sandbox
Here you can play around with Lua code. See the Lua API or chatbox for information about what you can do using Lua in TheoTown. For general interest in making plugins, have a look into our getting started guide.

Code: Select all    Reset

local n = 10
local sieve = {}
local primes = Array()

for i = 2, n do
if not sieve[i] then
primes:add(i)
end
for j = i * i, n, i do
sieve[j] = true
end
end

Debug.toast('Hello world! There are '..#primes..' primes in 2 to '..n)
primes:forEach(function(p) Debug.toast(p) end)

Interactive Lua editor

• News

#### Plugin Store Activity in February 2023

Hello everyone, it's time for some Plugin Store statistics!

New Plugins
In total 31 new plugins have been submitted in February 2023. Most of them were contributed by:
4 plugins

1. reco0719
4 plugins

3 plugins

Top Creators
An incomplete list of our most diligent plugin creators:
By downloads
By published plugins

Top Plugins

1. Tesla Factory
by CERRERA
Downloads: 683,724
Rating: 73% by 2374 ratings
Published: 2021-01-22
Last update: 2023-01-17

2. Recycling center
by Stepanhie
Downloads: 539,917
Rating: 75% by 2025 ratings
Published: 2021-01-04
Last update: 2022-11-08

3. Big hospital
by anhkatori2
Downloads: 391,932
Rating: 78% by 920 ratings
Published: 2021-07-29
Last update: 2022-05-18

4. One World Trade Center
by Kevin hung
Downloads: 1,006,739
Rating: 71% by 3480 ratings
Published: 2018-12-17
Last update: 2018-12-17

5. Diagonal road
by Kartofun
Downloads: 956,780
Rating: 64% by 5180 ratings
Published: 2018-12-15
Last update: 2018-12-15

6. Waste To Energy Plant
by anhkatori2
Downloads: 364,817
Rating: 79% by 1090 ratings
Published: 2021-07-14
Last update: 2022-05-01

7. Piccadilly Circus
by MONTEMARINO
Downloads: 769,597
Rating: 74% by 2366 ratings
Published: 2019-01-20
Last update: 2020-03-19

8. Fire Headquarters
by anhkatori2
Downloads: 271,285
Rating: 79% by 642 ratings
Published: 2021-09-09
Last update: 2022-03-20

9. Allianz Parque Stadium
by Carlão da massa
Downloads: 559,551
Rating: 81% by 1186 ratings
Published: 2020-01-15
Last update: 2020-04-19

Views: 552  •  Comments: 0  •  Post a reply

• Recent
•  Recent announcements Recent popular topics Recent topics

• Newest Plugins

• Latest news
Replies
Views
Last post

• Who is online?
• In total there are 58 users online :: 6 registered, 0 hidden and 52 guests (based on users active over the past 5 minutes)
Most users ever online was 1548 on 11 Aug 2021, 18:45

•  Menu

•  Top Posters

•  Statistics
• Totals
Total posts 166586
Total topics 13606
Total Announcements: 22
Total Stickies: 53
Total Attachments: 30459

Topics per day: 2
Posts per day: 30
Users per day: 63
Topics per user: 0
Posts per user: 0
Posts per topic: 12

Total members 349596
Our newest member ezekiel2020

•  Friends
• Online
No friends online

Offline
No friends offline